Skip to content

Commit e434a52

Browse files
committed
Added CMake Install
Signed-off-by: ZigRazor <zigrazor@gmail.com>
1 parent 6a76ac7 commit e434a52

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ target_sources ( ${PROJECT_NAME} INTERFACE ${HEADERS_FILES} )
5858
target_compile_features( ${PROJECT_NAME} INTERFACE cxx_std_20 )
5959
target_include_directories( ${PROJECT_NAME} INTERFACE include/ )
6060

61+
set_target_properties( ${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${HEADERS_FILES}")
62+
63+
install(TARGETS ${PROJECT_NAME} PUBLIC_HEADER
64+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/DogBreeds/Labrador)
65+
6166
option(LABRADOR_TEST "Enable Test" OFF)
6267
if(TEST)
6368
enable_testing()

0 commit comments

Comments
 (0)