Add install rules to CMakeLists

This commit is contained in:
Epicalert 2021-07-04 19:17:56 +08:00
parent 5620f6bbb4
commit 94f5c21ecd
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD

View file

@ -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 )