diff options
author | Ray-V <ray-v@inbox.lv> | 2024-07-27 21:29:02 +0100 |
---|---|---|
committer | Ray-V <ray-v@inbox.lv> | 2024-07-27 21:29:02 +0100 |
commit | 7c8d217a676799ba34b405d9352a5bf2fa540802 (patch) | |
tree | 37c7e14b7dd75fddff3fde6f0ab4322202438702 | |
parent | 5e162368dca98b1595b0e1ee8a67bbe19d1ffeb6 (diff) | |
download | tde-ebook-reader-7c8d217a676799ba34b405d9352a5bf2fa540802.tar.gz tde-ebook-reader-7c8d217a676799ba34b405d9352a5bf2fa540802.zip |
Fix -ltqt and -ltqt-mt not found
Signed-off-by: Ray-V <ray-v@inbox.lv>
-rw-r--r-- | reader/src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | zlibrary/core/CMakeLists.txt | 4 | ||||
-rw-r--r-- | zlibrary/text/CMakeLists.txt | 4 |
3 files changed, 12 insertions, 1 deletions
diff --git a/reader/src/CMakeLists.txt b/reader/src/CMakeLists.txt index 1ffca05..8b42f39 100644 --- a/reader/src/CMakeLists.txt +++ b/reader/src/CMakeLists.txt @@ -8,8 +8,11 @@ include_directories( ${CMAKE_BINARY_DIR}/zlibrary/text/include ) +link_directories( + ${TQT_LIBRARY_DIRS} +) -##### libzlcore-tqt (shared) +##### tde-ebook-reader file( GLOB_RECURSE _src_cpp_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp) tde_add_executable( tde-ebook-reader AUTOMOC diff --git a/zlibrary/core/CMakeLists.txt b/zlibrary/core/CMakeLists.txt index 0f0be4f..f81eb83 100644 --- a/zlibrary/core/CMakeLists.txt +++ b/zlibrary/core/CMakeLists.txt @@ -5,6 +5,10 @@ include_directories( ${CMAKE_BINARY_DIR} ) +link_directories( + ${TQT_LIBRARY_DIRS} +) + configure_file( include/core_export.h.cmake include/core_export.h ) diff --git a/zlibrary/text/CMakeLists.txt b/zlibrary/text/CMakeLists.txt index ea2bbb8..9a55a2d 100644 --- a/zlibrary/text/CMakeLists.txt +++ b/zlibrary/text/CMakeLists.txt @@ -7,6 +7,10 @@ include_directories( ${CMAKE_BINARY_DIR}/zlibrary/text/include ) +link_directories( + ${TQT_LIBRARY_DIRS} +) + configure_file( include/text_export.h.cmake include/text_export.h ) |