Made cmake platform independent
This commit is contained in:
parent
0686e9c920
commit
db78910240
2 changed files with 9 additions and 4 deletions
4
lib/sdl2_gfx/CMakeLists.txt
vendored
4
lib/sdl2_gfx/CMakeLists.txt
vendored
|
@ -11,10 +11,10 @@ add_library(sdl2_gfx
|
|||
)
|
||||
|
||||
target_include_directories(sdl2_gfx PUBLIC
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
"include"
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(sdl2_gfx PUBLIC
|
||||
SDL2
|
||||
${SDL2_PREFIX}SDL2 ${SDL2_PREFIX}SDL2main
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue