From 94f5c21ecdf9180fdd4ac2f4825068fdff521f94 Mon Sep 17 00:00:00 2001 From: Epicalert Date: Sun, 4 Jul 2021 19:17:56 +0800 Subject: [PATCH] Add install rules to CMakeLists --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2629358..ad26598 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,3 +78,10 @@ add_executable( fc2dconfig src/tomlcpp.cpp ) target_link_libraries( fc2dconfig ${wxWidgets_LIBRARIES} ) + +install( TARGETS fc2d fc2dconfig + DESTINATION bin ) +install( DIRECTORY ${PROJECT_BINARY_DIR}/models + DESTINATION share/facecam2d ) +install( DIRECTORY ${PROJECT_BINARY_DIR}/cvdata + DESTINATION share/facecam2d )