Avoid recording a nonexistent include directory in case we do not
install any bundled header files.
# For installation:
#
+# Make sure that we only ever record the bundled subdirectory if it is in
+# fact created:
+IF("${DEAL_II_BUNDLED_INCLUDE_DIRS}" STREQUAL "")
+ SET(_installed_bundled "")
+ELSE()
+ SET(_installed_bundled
+ "\${DEAL_II_PATH}/\${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled"
+ )
+ENDIF()
+
SET(CONFIG_BUILD_DIR FALSE)
SET(CONFIG_INCLUDE_DIRS
\${DEAL_II_PATH}/\${DEAL_II_INCLUDE_RELDIR}
- \${DEAL_II_PATH}/\${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled
+ ${_installed_bundled}
${DEAL_II_USER_INCLUDE_DIRS}
)
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