cmake: Install the library to the default system location.

Parts omitted in commit 1382F3DDB7D28B59432C8C32455734BADA2B6016.

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

@ -90,7 +90,7 @@ configure_file( config.h.cmake config.h @ONLY )
set( prefix ${CMAKE_INSTALL_PREFIX} ) set( prefix ${CMAKE_INSTALL_PREFIX} )
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} )
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${TQT_INCLUDES_DIR} ) string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${TQT_INCLUDES_DIR} )
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${TQT_LIBDIR} ) string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} )
configure_file( qscintilla.pc.cmake qscintilla.pc @ONLY ) configure_file( qscintilla.pc.cmake qscintilla.pc @ONLY )

@ -55,7 +55,7 @@ tde_add_library( qscintilla SHARED AUTOMOC
VERSION 7.0.1 VERSION 7.0.1
DESTINATION ${TQT_LIBDIR} DESTINATION ${LIB_INSTALL_DIR}
) )

Loading…
Cancel
Save