Skip to content

Commit

Permalink
CMakeLists.txt: TODO CMAKE_INSTALL_LIBDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
DDvO committed Mar 15, 2024
1 parent 1412dea commit f637ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
# help CPackDeb please dpkg-shlibdeps
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.20.0")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS
"../lib/${CMAKE_INSTALL_LIBDIR}"
"../lib/${CMAKE_INSTALL_FULL_LIBDIR}")
else()
set(CMAKE_INSTALL_RPATH # must be done before add_executable()
"../lib/${CMAKE_INSTALL_LIBDIR}"
"../lib/${CMAKE_INSTALL_FULL_LIBDIR}")
endif()
endif()
Expand Down

0 comments on commit f637ede

Please sign in to comment.