File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -280,11 +280,14 @@ if (OS_WINDOWS)
280
280
set (CONFIG_INSTALL_DIR CMake)
281
281
else ()
282
282
set (RUNTIME_INSTALL_DIR bin)
283
- # The LIB_SUFFIX variable is used by the Fedora package maintainers.
284
- # Also package maintainers of other distribution packages need to be able
285
- # to specify the name of the library directory.
286
- set (LIBRARY_INSTALL_DIR lib${LIB_SUFFIX}
287
- CACHE STRING "Directory name for installed libraries, e.g., \" lib64\" "
283
+ # The LIB_INSTALL_DIR and LIB_SUFFIX variables are used by the Fedora
284
+ # package maintainers. Also package maintainers of other distribution
285
+ # packages need to be able to specify the name of the library directory.
286
+ if (NOT LIB_INSTALL_DIR)
287
+ set (LIB_INSTALL_DIR "lib${LIB_SUFFIX} " )
288
+ endif ()
289
+ set (LIBRARY_INSTALL_DIR "${LIB_INSTALL_DIR} "
290
+ CACHE PATH "Directory of installed libraries, e.g., \" lib64\" "
288
291
)
289
292
mark_as_advanced (LIBRARY_INSTALL_DIR)
290
293
set (INCLUDE_INSTALL_DIR include )
You can’t perform that action at this time.
0 commit comments