py3: /cMake gathering commits for cmake
mostly this changes are necessary to build FreeCAD with py3 (and conda) on windows. issue 0000995
This commit is contained in:
@@ -140,7 +140,9 @@ IF(NGLIB_INCLUDE_DIR AND NGLIB_LIBRARIES)
|
||||
elseif(HAS_CPP1Y_FLAG)
|
||||
set(NETGEN_CXX_FLAGS "-std=c++1y")
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported compiler -- C++1y support or newer required!")
|
||||
# message(FATAL_ERROR "Unsupported compiler -- C++1y support or newer required!")
|
||||
message(STATUS "can not detect c++1y support, but will try to build with c++1y")
|
||||
set(NETGEN_CXX_FLAGS "-std=c++1y")
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# Clang sometimes fails to include <cstdio>
|
||||
|
||||
Reference in New Issue
Block a user