CMake: require Netgen when BUILD_FEM_NETGEN is ON, don't fail silently
This commit is contained in:
committed by
Max Wilfinger
parent
b27eaa5387
commit
96f8b3a43b
@@ -94,7 +94,7 @@ if(NOT FREECAD_LIBPACK_USE OR FREECAD_LIBPACK_CHECKFILE_CLBUNDLER OR FREECAD_LIB
|
||||
endif(BUILD_GUI)
|
||||
SetupSalomeSMESH()
|
||||
if (BUILD_FEM_NETGEN)
|
||||
find_package(NETGEN)
|
||||
find_package(NETGEN REQUIRED)
|
||||
endif(BUILD_FEM_NETGEN)
|
||||
# not needed at the moment
|
||||
#find_package(OpenCV REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user