Skip to content

Commit 0185524

Browse files
authored
Merge pull request #92 from ellert/gnu-dirs
Use GNUInstallDirs
2 parents c285514 + 9b093a8 commit 0185524

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ else()
100100
set_target_properties(XrdHTTPServer PROPERTIES OUTPUT_NAME "XrdHTTPServer-${XRootD_PLUGIN_VERSION}" SUFFIX ".so")
101101
endif()
102102

103-
SET(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Install path for libraries")
103+
include(GNUInstallDirs)
104104

105105
install(
106106
TARGETS XrdS3 XrdHTTPServer
107-
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
107+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
108108
)
109109

110110
if( BUILD_TESTING )

0 commit comments

Comments
 (0)