Skip to content

Commit 08e8940

Browse files
committed
using DESTINATION for compatibility with old CMake
1 parent c6bd665 commit 08e8940

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CvPlot/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ endif()
116116

117117
#Install
118118
if(CVPLOT_HEADER_ONLY)
119-
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" TYPE INCLUDE)
119+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" DESTINATION include)
120120
else()
121-
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" TYPE INCLUDE PATTERN "imp" EXCLUDE)
121+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/CvPlot" DESTINATION include PATTERN "imp" EXCLUDE)
122122
endif()
123123
install(TARGETS ${target})

0 commit comments

Comments
 (0)