Skip to content
Snippets Groups Projects
Commit 961a15ed authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

[duneproject] use CMake variable for install dir

The install path for header files can be configured in CMake with the
variable ${CMAKE_INSTALL_INCLUDEDIR}.
parent 7c410933
No related branches found
No related tags found
No related merge requests found
......@@ -766,7 +766,7 @@ EOF
echo "- $PROJECT/dune/$NAME/CMakeLists.txt"
cat> $PROJECT/dune/$NAME/CMakeLists.txt <<EOF
#install headers
install(FILES ${NAME}.hh DESTINATION include/dune/$NAME)
install(FILES ${NAME}.hh DESTINATION \${CMAKE_INSTALL_INCLUDEDIR}/dune/$NAME)
EOF
################## dune/$NAME/$NAME.hh #################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment