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)
include(cmake/enable_code_style_check.cmake)
# Install the library and the executables
# this defines architecture-dependent ${CMAKE_INSTALL_LIBDIR}
include(GNUInstallDirs)
install( TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}Targets
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib )
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
# all include files go into include/PROJECT_NAME
# 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