Common/CMake: Fix Windows build

This commit is contained in:
spycrab
2019-05-08 21:41:07 +02:00
parent c7dcba1c5f
commit b5160ec685
2 changed files with 10 additions and 9 deletions

View File

@ -69,6 +69,14 @@ if (APPLE)
${COREFOUNDATION_LIBRARY}
${IOK_LIBRARY}
)
elseif(WIN32)
target_link_libraries(common
PRIVATE
kernel32.lib
shlwapi.lib
opengl32.lib
winmm.lib
)
endif()
if(ANDROID)
@ -78,6 +86,7 @@ if(ANDROID)
)
elseif(WIN32)
target_sources(common PRIVATE
LdrWatcher.cpp
Logging/ConsoleListenerWin.cpp
)
else()