Skip to content

Commit

Permalink
using DESTINATION for compatibility with old CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalfi committed Nov 18, 2021
1 parent c6bd665 commit 08e8940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CvPlot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ endif()

#Install
if(CVPLOT_HEADER_ONLY)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" TYPE INCLUDE)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" DESTINATION include)
else()
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" TYPE INCLUDE PATTERN "imp" EXCLUDE)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" DESTINATION include PATTERN "imp" EXCLUDE)
endif()
install(TARGETS ${target})

0 comments on commit 08e8940

Please sign in to comment.