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:
looooo
2017-06-01 16:29:08 +02:00
committed by wmayer
parent 9807cf937d
commit 95297a0c31
5 changed files with 25 additions and 6 deletions

View File

@@ -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>