LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${TBB_DEBUG_LIBRARY})
ADD_DEFINITIONS("-DTBB_USE_DEBUG=1" "-DTBB_DO_ASSERT=1")
ELSE()
- MESSAGE(WARNING "\n"
- "deal.II was configured with CMAKE_BUILD_TYPE=Debug but no debug tbb\n"
- "library was found. The regular tbb library will be used instead.\n\n"
+ MESSAGE(STATUS
+ "deal.II was configured with CMAKE_BUILD_TYPE=Debug but no debug tbb "
+ "library was found. The regular tbb library will be used instead."
)
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${TBB_LIBRARY})
ENDIF()
MACRO(FEATURE_FUNCTIONPARSER_FIND_EXTERNAL var)
- MESSAGE(WARNING "\n"
- "No module available for finding functionparser externally.\n\n"
+ MESSAGE(STATUS
+ "No module available for finding functionparser externally."
)
ENDMACRO()
ENDMACRO()
+SET(FEATURE_FUNCTIONPARSER_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_FUNCTIONPARSER_ERROR_MESSAGE)
+ MESSAGE(SEND_ERROR "\n"
+ "No module available for finding functionparser externally.\n"
+ "Disable DEAL_II_WITH_FUNCTIONPARSER, or enable DEAL_II_ALLOW_CONTRIB.\n\n"
+ )
+ENDMACRO()
+
+
CONFIGURE_FEATURE(FUNCTIONPARSER)
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