Skip to content

Commit e1b36f4

Browse files
authored
Merge pull request #117 from cyyever/bsd
fix freebsd build
2 parents 080d24e + 4b11a43 commit e1b36f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ if(CMakePythonDistributions_SUPERBUILD)
183183
endforeach()
184184

185185
set(_common_args )
186-
if(UNIX AND NOT APPLE)
186+
if(UNIX AND (NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD"))
187187
# Since CMAKE_C_FLAGS and CMAKE_EXE_LINKER_FLAGS arguments contain spaces, we generate an initial
188188
# cache file.
189189
file(WRITE "${CMAKE_BINARY_DIR}/initial-cache.txt"

0 commit comments

Comments
 (0)