Commit 055fa455 authored by Martin Nolte's avatar Martin Nolte

[bugfix][cmake] install executables as targets

Installing the generated executables als `FILES` resulted in the following
error message on Debian Stretch (CMake 3.7.2):
```
CMake Error at cmake_install.cmake:44 (file):
  file INSTALL cannot find
  "/home/nolte/numerics/master/dune-grid-howto/adaptivefinitevolume".
```

This patch fixes the issue by installing them as `TARGETS`.
parent fc6655e0
Pipeline #5291 passed with stage
in 16 minutes and 51 seconds
......@@ -81,24 +81,27 @@ install(FILES
vertexdata.hh
vtkout.hh
adaptivefinitevolume.cc
adaptivefinitevolume
adaptiveintegration.cc
adaptiveintegration
gettingstarted.cc
gettingstarted
integration.cc
integration
othergrids.cc
othergrids
finiteelements.cc
finiteelements
finitevolume.cc
finitevolume
parfinitevolume.cc
parfinitevolume
traversal.cc
traversal
visualization.cc
DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples)
install(TARGETS
adaptivefinitevolume
adaptiveintegration
gettingstarted
integration
othergrids
finiteelements
finitevolume
parfinitevolume
traversal
visualization
DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment