cmake: Install the library to the default system location.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 3 years ago
parent a69b55c674
commit 1382f3ddb7
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -25,6 +25,7 @@ include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
include( GNUInstallDirs OPTIONAL )
#### include our cmake modules
@ -35,6 +36,9 @@ 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( )

@ -58,15 +58,3 @@ execute_process(
)
set( TQT_INCLUDES_DIR ${_includedir} )
message( STATUS "TQT include directory: ${TQT_INCLUDES_DIR}" )
##### Look for tqt3 libraries location
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} tqt-mt --variable=libdir
OUTPUT_VARIABLE _libdir
RESULT_VARIABLE _result
OUTPUT_STRIP_TRAILING_WHITESPACE
)
set( TQT_LIBDIR ${_libdir} )
message( STATUS "TQT libraries directory: ${TQT_LIBDIR}" )

Loading…
Cancel
Save