From a7ba3ce62e0b2bd92e6e10fe1ff6c95f189e480f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 22 Aug 2016 13:36:32 +0200 Subject: cmake: don't force stuff for msvc link --- cmake/opentrack-boilerplate.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 41af076c..d00a4a75 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -96,9 +96,6 @@ function(opentrack_boilerplate__ n files_ no-library_ static_ no-compat_ compile if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) set(l-props "-Wl,--as-needed") endif() - if(MSVC) - set(l-props "${msvc-subsystem} /DEBUG /OPT:ICF") - endif() get_target_property(orig-compile ${n} COMPILE_FLAGS) if(NOT orig-compile) set(orig-compile "") -- cgit v1.2.3