diff options
author | Slávek Banko <[email protected]> | 2020-01-03 16:34:13 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-01-03 16:34:13 +0100 |
commit | bd91ae659cf7e7ae03fa587aeac0753c6ec78ce2 (patch) | |
tree | 87b5559aa916029ac5abb41b4a57669a358f34a1 /CMakeLists.txt | |
parent | 671faf252fe4100120aa86f1e144ae5c93b26900 (diff) | |
download | tqca-bd91ae659cf7e7ae03fa587aeac0753c6ec78ce2.tar.gz tqca-bd91ae659cf7e7ae03fa587aeac0753c6ec78ce2.zip |
Small adjustments to cmake conversion
+ add multiarch support for library installation path
+ add installation of tqcaprovider.h
+ removed dependency on TDE libraries
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba877a9..1e1ea35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ include( CheckIncludeFile ) include( CheckLibraryExists ) include( CheckCSourceCompiles ) include( CheckCXXSourceCompiles ) +include( GNUInstallDirs OPTIONAL ) #### include our cmake modules @@ -35,6 +36,10 @@ include( TDEMacros ) ##### setup install paths +if( CMAKE_INSTALL_LIBDIR ) + tde_setup_install_path( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" ) +endif( ) + include( TDESetupPaths ) tde_setup_paths( ) |