#4978 Conditional linking C runtime lib
This commit is contained in:
parent
c2b6b60cec
commit
13e8047967
|
@ -26,7 +26,9 @@ include_directories(
|
|||
|
||||
add_library(synwinhk SHARED ${sources})
|
||||
|
||||
target_link_libraries (synwinhk libucrt)
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue