Link just against required VTK modules on Linux.
Note: If VTK is installed below /opt or anywhere else just add a path to GLOB_RECURSE.
This commit is contained in:
committed by
wmayer
parent
dd13cb2534
commit
69fa118b08
@@ -6,7 +6,6 @@ endif(MSVC)
|
||||
|
||||
if (BUILD_SMESH)
|
||||
add_definitions(-DHAVE_SMESH -DHAVE_MEFISTO)
|
||||
include(${VTK_USE_FILE})
|
||||
endif(BUILD_SMESH)
|
||||
|
||||
if(BUILD_FEM_NETGEN)
|
||||
@@ -21,6 +20,7 @@ include_directories(
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
${SMESH_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user