#4978 Conditional linking C runtime lib

This commit is contained in:
Andrew Nelless 2016-06-20 16:07:04 +01:00 committed by Jerry (Xinyu Hou)
parent c2b6b60cec
commit 13e8047967
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ include_directories(
add_library(synwinhk SHARED ${sources})
if (NOT MSVC_VERSION VERSION_LESS 1900)
target_link_libraries(synwinhk libucrt)
endif()
# copy the dlls (and supporting files) from the lib dir to
# the bin dir, so that synergyc and synergys can easily find them.