]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: fully qualify an include path 15425/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 22 Jun 2023 18:18:49 +0000 (13:18 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 22 Jun 2023 18:18:49 +0000 (13:18 -0500)
bundled/muparser_v2_3_3/CMakeLists.txt

index 6c06fe99bf740a57781321a73224a244dfcfd472..2f485cbffdc71790187831d959609b0a27d142eb 100644 (file)
@@ -24,9 +24,7 @@ enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-implicit-fallthrough)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-cast-function-type)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-float-conversion)
 
-include_directories(
-  include/
-)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/)
 
 define_object_library(bundled_muparser OBJECT
   src/muParserBase.cpp

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


Typeset in Trocchi and Trocchi Bold Sans Serif.