Skip to content

Commit

Permalink
Merge pull request opencv#19 from kraj/master
Browse files Browse the repository at this point in the history
use GNUInstallDirs for detecting install paths
  • Loading branch information
dmatveev committed Aug 14, 2022
2 parents 43c4493 + c14794c commit 09c31a3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sources/ade/CMakeLists.txt
Expand Up @@ -47,12 +47,14 @@ if(BUILD_ADE_DOCUMENTATION)
VERBATIM)
endif()

include(GNUInstallDirs)

install(TARGETS ade COMPONENT dev
EXPORT adeTargets
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION lib
INCLUDES DESTINATION include)
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

install(EXPORT adeTargets DESTINATION share/ade COMPONENT dev)

Expand Down

0 comments on commit 09c31a3

Please sign in to comment.