From 9c371d8c12ae4aed333bd7f90d0468603163ad6c Mon Sep 17 00:00:00 2001 From: Kevin Sala Date: Tue, 30 Nov 2021 11:44:30 +0100 Subject: [PATCH] Installing Paraver CFG files in PREFIX/share/ovni Closes #26 --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6317d0d..1a1f09f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,7 @@ find_package(MPI REQUIRED) add_executable(ovnisync ovnisync.c) target_link_libraries(ovnisync m MPI::MPI_C) -install(TARGETS ovni LIBRARY) -install(TARGETS ovniemu ovnidump ovni2prv ovnisync RUNTIME) +install(TARGETS ovni LIBRARY DESTINATION lib) +install(TARGETS ovniemu ovnidump ovni2prv ovnisync RUNTIME DESTINATION bin) install(FILES ovni.h DESTINATION include) +install(DIRECTORY cfg/ DESTINATION share/ovni)