summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--reader/src/CMakeLists.txt5
-rw-r--r--zlibrary/core/CMakeLists.txt4
-rw-r--r--zlibrary/text/CMakeLists.txt4
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 )