Skip to content
Snippets Groups Projects
Commit 094808d2 authored by Dietrich Rothe's avatar Dietrich Rothe Committed by Dietrich Rothe
Browse files

use lib install dir defined by GNUInstallDirs

this should fix library search problems on Tumbleweed
parent a63f1d5e
No related branches found
No related tags found
No related merge requests found
...@@ -77,10 +77,11 @@ include(cmake/enable_doxygen_documentation.cmake) ...@@ -77,10 +77,11 @@ include(cmake/enable_doxygen_documentation.cmake)
include(cmake/enable_code_style_check.cmake) include(cmake/enable_code_style_check.cmake)
# Install the library and the executables # Install the library and the executables
# this defines architecture-dependent ${CMAKE_INSTALL_LIBDIR}
include(GNUInstallDirs)
install( TARGETS ${PROJECT_NAME} install( TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}Targets EXPORT ${PROJECT_NAME}Targets
RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
LIBRARY DESTINATION lib )
# all include files go into include/PROJECT_NAME # all include files go into include/PROJECT_NAME
# The exclusion of ${PROJECT_NAME} prevents the recursive installation of the files just being installed. # The exclusion of ${PROJECT_NAME} prevents the recursive installation of the files just being installed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment