Skip to content

Commit 7174a63

Browse files
committed
Don't break build on Darwin :-(
1 parent db6b04c commit 7174a63

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ if(LIBPOLY_BUILD_STATIC_PIC)
132132
install(TARGETS static_pic_polyxx ARCHIVE DESTINATION lib)
133133
target_link_libraries(static_pic_polyxx static_pic_poly)
134134

135-
if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
136-
set_target_properties(static_pic_poly PROPERTIES EXCLUDE_FROM_ALL ON)
137-
set_target_properties(static_pic_polyxx PROPERTIES EXCLUDE_FROM_ALL ON)
138-
endif()
135+
# iam: safer to just be uniform?
136+
# if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
137+
# set_target_properties(static_pic_poly PROPERTIES EXCLUDE_FROM_ALL ON)
138+
# set_target_properties(static_pic_polyxx PROPERTIES EXCLUDE_FROM_ALL ON)
139+
# endif()
139140
endif()

0 commit comments

Comments
 (0)