FEM Post: Always build except for VTK <6.2
VTK 6.0 has a bug which makes it incompatibel with c++11
This commit is contained in:
@@ -8,9 +8,6 @@ if(BUILD_FEM_NETGEN)
|
||||
add_definitions(-DFCWithNetgen ${NETGEN_DEFINITIONS})
|
||||
endif(BUILD_FEM_NETGEN)
|
||||
|
||||
find_package(VTK REQUIRED)
|
||||
include(${VTK_USE_FILE})
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
|
||||
if(BUILD_FEM_VTK)
|
||||
include(${VTK_USE_FILE})
|
||||
add_definitions(-DFC_USE_VTK)
|
||||
endif(BUILD_FEM_VTK)
|
||||
|
||||
include(${VTK_USE_FILE})
|
||||
|
||||
add_subdirectory(App)
|
||||
|
||||
if(BUILD_GUI)
|
||||
|
||||
@@ -6,6 +6,7 @@ endif(MSVC)
|
||||
|
||||
if (BUILD_SMESH)
|
||||
add_definitions(-DHAVE_SMESH -DHAVE_MEFISTO)
|
||||
include(${VTK_USE_FILE})
|
||||
endif(BUILD_SMESH)
|
||||
|
||||
if(BUILD_FEM_NETGEN)
|
||||
|
||||
Reference in New Issue
Block a user