cmake: only link SDL2 against test executables
This commit is contained in:
1 parent
b057159db7
commit
bba51871a8
2 files changed
+73
-57
No files matched your search
@@ -2064,6 +2064,7 @@ elseif(WINDOWS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
enable_language(RC)
|
||||
file(GLOB VERSION_SOURCES ${SDL2_SOURCE_DIR}/src/main/windows/*.rc)
|
||||
file(GLOB SDLMAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/windows/*.c)
|
||||
if(MINGW OR CYGWIN)
|
||||
|
||||
Reference in new issue
Block a user