Unverified Commit 186e2a16 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #1267

Fix CMakeLists.txt for installing caf-tools
parents 9a09b5de aa9ba3fb
...@@ -2,7 +2,7 @@ add_custom_target(all_tools) ...@@ -2,7 +2,7 @@ add_custom_target(all_tools)
macro(add name) macro(add name)
add_executable(${name} ${name}.cpp ${ARGN}) add_executable(${name} ${name}.cpp ${ARGN})
install(FILES ${name}.cpp DESTINATION ${CMAKE_INSTALL_DATADIR}/caf/tools) install(TARGETS ${name} DESTINATION ${CMAKE_INSTALL_DATADIR}/caf/tools)
add_dependencies(${name} all_tools) add_dependencies(${name} all_tools)
endmacro() endmacro()
......
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