fix build failure if VTK is not enabled
This commit is contained in:
@@ -46,11 +46,16 @@ generate_from_xml(FemPostPipelinePy)
|
||||
SET(Python_SRCS
|
||||
FemMeshPy.xml
|
||||
FemMeshPyImp.cpp
|
||||
FemPostPipelinePy.xml
|
||||
FemPostPipelinePyImp.cpp
|
||||
HypothesisPy.cpp
|
||||
HypothesisPy.h
|
||||
)
|
||||
if(BUILD_FEM_VTK)
|
||||
SET(Python_SRCS
|
||||
${Python_SRCS}
|
||||
FemPostPipelinePy.xml
|
||||
FemPostPipelinePyImp.cpp
|
||||
)
|
||||
endif(BUILD_FEM_VTK)
|
||||
SOURCE_GROUP("Python" FILES ${Python_SRCS})
|
||||
|
||||
SET(Mod_SRCS
|
||||
|
||||
Reference in New Issue
Block a user