summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-08 17:03:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-08 17:03:22 +0100
commit5da5cb1c824c608159126a82011d8a8943b360e0 (patch)
treef7be9475f081ff2bc81b44fa4300f013bb437fdf
parent591c8f8d77f742dd99e59dab537dd9d5a62e88a6 (diff)
downloadtqscintilla-5da5cb1c824c608159126a82011d8a8943b360e0.tar.gz
tqscintilla-5da5cb1c824c608159126a82011d8a8943b360e0.zip
cmake: Install the library to the default system location.
Parts omitted in commit 1382F3DDB7D28B59432C8C32455734BADA2B6016. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt2
-rw-r--r--qt/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec0bdfd..5c35657 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,7 +90,7 @@ configure_file( config.h.cmake config.h @ONLY )
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_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 )
diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt
index 865d3b1..bf53a40 100644
--- a/qt/CMakeLists.txt
+++ b/qt/CMakeLists.txt
@@ -55,7 +55,7 @@ tde_add_library( qscintilla SHARED AUTOMOC
VERSION 7.0.1
- DESTINATION ${TQT_LIBDIR}
+ DESTINATION ${LIB_INSTALL_DIR}
)