CMakeLists.txt:make install

This commit is contained in:
randymcmillan 2023-08-01 20:25:13 -04:00
parent f202ebcdde
commit 93c9616d9c
No known key found for this signature in database
GPG Key ID: 85495A938B7F78DF

View File

@ -76,3 +76,13 @@ add_custom_command(
COMMENT "generating config.h"
)
#//////////////////////////
# Install
#//////////////////////////
install(TARGETS nostril
CONFIGURATIONS Debug
RUNTIME DESTINATION ${CMAKE_SOURCE_DIR}/bin)
install(TARGETS nostril
CONFIGURATIONS Release
RUNTIME DESTINATION /usr/local/bin)