mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-30 10:58:07 +03:00
CMakeLists.txt fix for windows
This commit is contained in:
+5
-1
@@ -34,7 +34,7 @@ else()
|
||||
list(APPEND SRCS
|
||||
win/nact_win.cpp
|
||||
win/mako_win.cpp
|
||||
res3/Script1.cpp
|
||||
res3/Script1.rc
|
||||
)
|
||||
else()
|
||||
list(APPEND SRCS
|
||||
@@ -89,4 +89,8 @@ else()
|
||||
target_link_libraries(system3 PRIVATE ${SDL2TTF_LIBRARIES} ${SDL2_LIBRARIES})
|
||||
target_link_directories(system3 PRIVATE ${SDL2_LIBRARY_DIRS} ${SDL2TTF_LIBRARY_DIRS})
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(system3 PRIVATE winmm)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user