]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix include dir for install target
authorAlberto Sartori <alberto.sartori86@gmail.com>
Tue, 13 Nov 2018 15:47:50 +0000 (16:47 +0100)
committerMatthias Maier <tamiko@43-1.org>
Thu, 15 Nov 2018 17:17:44 +0000 (11:17 -0600)
cmake/config/CMakeLists.txt
cmake/config/config_base.pc.in

index 7ed5252f2152af261bcdc0383ec49b241883657d..3f1bc237809599d9deeec01c1ea313fc97ac0255 100644 (file)
@@ -344,8 +344,7 @@ CONFIGURE_FILE(
 SET(CONFIG_PATH_PC "${CMAKE_INSTALL_PREFIX}")
 
 TO_STRING_AND_ADD_PREFIX(CONFIG_INCLUDE_DIRS_PC "-I"
-  \\\${prefix}/include
-  ${CMAKE_SOURCE_DIR}/include
+  \\\${includedir}
   ${DEAL_II_BUNDLED_INCLUDE_DIRS}
   ${DEAL_II_USER_INCLUDE_DIRS}
   )
index 15d1ee9ee5a70832a13b967e8562b8cbbc950a85..aa87b27d836c1ee8a9daceb5734eed3dee95ea50 100644 (file)
@@ -1,4 +1,5 @@
 prefix=@CONFIG_PATH_PC@
+includedir=${prefix}/@DEAL_II_INCLUDE_RELDIR@
 libdir=${prefix}/@DEAL_II_LIBRARY_RELDIR@
 
 Name: deal.II_base

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.