Merge pull request #8087 from spycrab/cmake_win2019

Support CMake on Windows
This commit is contained in:
spycrab
2019-05-14 21:07:26 +02:00
committed by GitHub
20 changed files with 217 additions and 33 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()