OPTION(DEAL_II_WITH_MPI
"Build deal.II with support for mpi."
- ON)
+ OFF)
OPTION(DEAL_II_WITH_NETCDF
"Build deal.II with support for netcdf."
packages, so to ensure that only external libraries are used
DEAL_II_ALLOW_CONTRIB as well as all DEAL_II_FORCE_CONTRIB_* have to be
OFF"
- ON)
+ OFF)
OPTION(DEAL_II_FORCE_CONTRIB_FUNCTIONPARSER
"Always use the bundled functionparser library instead of an external one."
-FIND_PACKAGE(Netcdf REQUIRED)
+FIND_PACKAGE(Netcdf)
+
+ IF(NOT DEAL_II_ALLOW_CONTRIB AND NOT TBB_FOUND)
+ macro_warning_not_found("TBB")
+ ENDIF()
INCLUDE_DIRECTORIES(${Netcdf_INCLUDE_DIR})
FIND_PACKAGE_HANDLE_STANDARD_ARGS(AMD DEFAULT_MSG AMD_LIBRARY AMD_INCLUDE_DIR)
-MARK_AS_ADVANCED(
- AMD_LIBRARY
- AMD_INCLUDE_DIR
-)
+IF(AMD_FOUND)
+ MARK_AS_ADVANCED(
+ AMD_LIBRARY
+ AMD_INCLUDE_DIR
+ )
+ENDIF()
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Netcdf DEFAULT_MSG Netcdf_LIBRARY Netcdf_INCLUDE_DIR)
-MARK_AS_ADVANCED(
- Netcdf_LIBRARY
- Netcdf_INCLUDE_DIR
-)
+IF(Netcdf_FOUND)
+ MARK_AS_ADVANCED(
+ Netcdf_LIBRARY
+ Netcdf_INCLUDE_DIR
+ )
+ENDIF()
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB DEFAULT_MSG TBB_LIBRARY TBB_INCLUDE_DIR)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TBB_DEBUG DEFAULT_MSG TBB_DEBUG_LIBRARY TBB_INCLUDE_DIR)
-MARK_AS_ADVANCED(
- TBB_LIBRARY
- TBB_DEBUG_LIBRARY
- TBB_INCLUDE_DIR
-)
+IF(TBB_FOUND)
+ MARK_AS_ADVANCED(
+ TBB_LIBRARY
+ TBB_DEBUG_LIBRARY
+ TBB_INCLUDE_DIR
+ )
+ENDIF()
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Umfpack DEFAULT_MSG Umfpack_LIBRARY Umfpack_INCLUDE_DIR)
-MARK_AS_ADVANCED(
- Umfpack_LIBRARY
- Umfpack_INCLUDE_DIR
-)
+IF(Umfpack_FOUND)
+ MARK_AS_ADVANCED(
+ Umfpack_LIBRARY
+ Umfpack_INCLUDE_DIR
+ )
+ENDIF()
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams