cmake: Install libraries according to multi-arch rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f4d6e7129f)
r14.0.x
Slávek Banko 5 years ago
parent b52d4c7d94
commit c39aed380d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -25,6 +25,7 @@ include( CheckSymbolExists )
include( CheckIncludeFile ) include( CheckIncludeFile )
include( CheckLibraryExists ) include( CheckLibraryExists )
include( CheckCSourceCompiles ) include( CheckCSourceCompiles )
include( GNUInstallDirs OPTIONAL )
#### include our cmake modules #### include our cmake modules
@ -35,6 +36,10 @@ include( TDEMacros )
##### setup install paths ##### setup install paths
if( CMAKE_INSTALL_LIBDIR )
tde_setup_install_path( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" )
endif( )
include( TDESetupPaths ) include( TDESetupPaths )
tde_setup_paths( ) tde_setup_paths( )

Loading…
Cancel
Save