Skip to content

Commit

Permalink
Added DESTINATION instead of TYPE in an install directive
Browse files Browse the repository at this point in the history
  • Loading branch information
egor-spk committed Nov 9, 2020
1 parent 1b74bbc commit 74b6b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ if (NOT UUID_USING_CXX20_SPAN)
target_include_directories(${PROJECT_NAME} INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/gsl>
$<INSTALL_INTERFACE:include/gsl>)
install(DIRECTORY gsl TYPE INCLUDE)
install(DIRECTORY gsl DESTINATION include)
endif ()

# Install step and imported target
install(FILES include/uuid.h TYPE INCLUDE)
install(FILES include/uuid.h DESTINATION include)
install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-targets)
install(EXPORT ${PROJECT_NAME}-targets
DESTINATION lib/cmake/${PROJECT_NAME})
Expand Down

0 comments on commit 74b6b8b

Please sign in to comment.