summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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:57 +0100
commitddeb07f10f24b3527b7d14c7b1b6825b0b498c5a (patch)
tree9c49a5d585fbb57e4e3b842441af46bbcbd9a96d /CMakeLists.txt
parent31b96d933fed651a7f779056cfa3f8dfc1a1cc0c (diff)
downloadtqscintilla-ddeb07f10f24b3527b7d14c7b1b6825b0b498c5a.tar.gz
tqscintilla-ddeb07f10f24b3527b7d14c7b1b6825b0b498c5a.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> (cherry picked from commit 5da5cb1c824c608159126a82011d8a8943b360e0)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09fbb04..72f8c3d 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 )