File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,19 +274,6 @@ if(CMakePythonDistributions_SUPERBUILD)
274274 message (STATUS "SuperBuild - CMakeProject-build - CMAKE_CXX_STANDARD: ${CMAKE_CXX_STANDARD} " )
275275 endif ()
276276
277- set (_cmake_args )
278- if (UNIX AND (NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" ))
279- # Since CMAKE_C_FLAGS and CMAKE_EXE_LINKER_FLAGS arguments contain spaces, we generate an initial
280- # cache file.
281- file (WRITE "${CMAKE_BINARY_DIR} /initial-cache.txt"
282- "set(CMAKE_C_FLAGS \" -D_POSIX_C_SOURCE=199506L -D_POSIX_SOURCE=1 -D_SVID_SOURCE=1 -D_BSD_SOURCE=1\" CACHE STRING \" Initial cache\" FORCE)
283- set(CMAKE_EXE_LINKER_FLAGS \" -lstdc++ -lgcc -lrt\" CACHE STRING \" Initial cache\" FORCE)
284- " )
285- set (_cmake_args
286- CMAKE_ARGS -C "${CMAKE_BINARY_DIR} /initial-cache.txt"
287- )
288- endif ()
289-
290277 # cmake
291278 set (CMakeProject_BINARY_DIR ${CMAKE_BINARY_DIR} /CMakeProject-build)
292279
@@ -296,7 +283,6 @@ set(CMAKE_EXE_LINKER_FLAGS \"-lstdc++ -lgcc -lrt\" CACHE STRING \"Initial cache\
296283 DOWNLOAD_COMMAND ""
297284 UPDATE_COMMAND ""
298285 BUILD_ALWAYS 1
299- ${_cmake_args}
300286 CMAKE_CACHE_ARGS
301287 -DBUILD_CursesDialog:BOOL=ON
302288 -DCMAKE_USE_OPENSSL:BOOL=ON
You can’t perform that action at this time.
0 commit comments