Use correct library path on all systems

- Fedora/RHEL uses /.../lib64/ for 64-bit and /.../lib/ for 32-bit
- Others use /.../lib/<arch>/
This commit is contained in:
Konstanty Bialkowski 2013-10-18 13:59:26 +10:00 • committed by Jon Szymaniak
commit 43a5370c06

View file

@ -28,6 +28,8 @@ configure_file(
@ONLY
)
include(GNUInstallDirs)
################################################################################
# Configuration options
################################################################################
@ -160,7 +162,7 @@ set_target_properties(libbladerf_shared PROPERTIES SOVERSION ${VERSION_INFO_MAJO
################################################################################
if(NOT DEFINED LIB_INSTALL_DIR)
set(LIB_INSTALL_DIR lib)
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" )
endif()
################################################################################