mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
#4978 Conditional linking C runtime lib
This commit is contained in:
committed by
Jerry (Xinyu Hou)
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.
|
||||
|
||||
Reference in New Issue
Block a user