cmake: only link SDL2 against test executables

This commit is contained in:
Anonymous Maarten committed 2024-07-12 18:47:18 +02:00
1 parent b057159db7
commit bba51871a8
2 files changed
+73 -57

No files matched your search

+1
View File
@@ -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)