]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: do not escape variables 14491/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 10 Mar 2023 21:08:29 +0000 (15:08 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 17 Mar 2023 12:44:54 +0000 (07:44 -0500)
cmake/macros/macro_populate_target_properties.cmake

index df990a9dbdb9505490571701f0908cca363d89a5..7e3572b649d0d0cc384033c997b06b5e8439ccd1 100644 (file)
@@ -72,13 +72,13 @@ function(populate_target_properties _target _build)
     set(_includes
       $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
       $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
-      "$<INSTALL_INTERFACE:\${DEAL_II_INCLUDE_RELDIR}>"
+      "$<INSTALL_INTERFACE:${DEAL_II_INCLUDE_RELDIR}>"
       )
     foreach(_include ${DEAL_II_BUNDLED_INCLUDE_DIRS})
       list(APPEND _includes $<BUILD_INTERFACE:${_include}>)
     endforeach()
     if(NOT "${DEAL_II_BUNDLED_INCLUDE_DIRS}" STREQUAL "")
-      list(APPEND _includes "$<INSTALL_INTERFACE:\${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled>")
+      list(APPEND _includes "$<INSTALL_INTERFACE:${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled>")
     endif()
     target_include_directories(${_target} SYSTEM INTERFACE ${_includes})
   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


Typeset in Trocchi and Trocchi Bold Sans Serif.