Skip to content

Commit 76de130

Browse files
isolate linking options valid only for Windows
1 parent bde56a2 commit 76de130

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

IfcPlusPlus/CMakeLists.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ IF(Boost_FOUND)
6767
ENDIF()
6868

6969
set_target_properties(IfcPlusPlus PROPERTIES DEBUG_POSTFIX "d")
70-
set_target_properties(IfcPlusPlus PROPERTIES LINK_FLAGS_DEBUG "/debug /INCREMENTAL:NO")
70+
71+
IF(WIN32)
72+
set_target_properties(IfcPlusPlus PROPERTIES LINK_FLAGS_DEBUG "/debug /INCREMENTAL:NO")
73+
ENDIF()
74+
7175

7276
INSTALL(
7377
DIRECTORY src/ifcpp

0 commit comments

Comments
 (0)