Updated SDL and fixed Emscripten build
This commit is contained in:
parent
919e41db22
commit
bd4d662dd9
36 changed files with 1156 additions and 125 deletions
13
conan/sdl/all/test_package/CMakeLists.txt
Normal file
13
conan/sdl/all/test_package/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(test_package)
|
||||
|
||||
find_package(SDL2 REQUIRED CONFIG)
|
||||
|
||||
add_executable(${PROJECT_NAME} test_package.cpp)
|
||||
target_link_libraries(${PROJECT_NAME} SDL2::SDL2main)
|
||||
if(TARGET SDL2::SDL2-static)
|
||||
target_link_libraries(${PROJECT_NAME} SDL2::SDL2-static)
|
||||
else()
|
||||
target_link_libraries(${PROJECT_NAME} SDL2::SDL2)
|
||||
endif()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue