summaryrefslogtreecommitdiffstats
path: root/lib/chmlib/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-05-01 14:48:25 +0200
committerSlávek Banko <[email protected]>2019-05-12 17:38:05 +0200
commit66815c9c1679da40b1454d1faf05b353004aab13 (patch)
tree9fe635d75c4dc546e77f81c0db244173101f2965 /lib/chmlib/CMakeLists.txt
parentae17ec2cc9146ec253c6b93e87b1394d178873a6 (diff)
downloadkchmviewer-66815c9c1679da40b1454d1faf05b353004aab13.tar.gz
kchmviewer-66815c9c1679da40b1454d1faf05b353004aab13.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit db17d12f24fab5ed233b222c90000e3c0081f99d)
Diffstat (limited to 'lib/chmlib/CMakeLists.txt')
-rw-r--r--lib/chmlib/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/chmlib/CMakeLists.txt b/lib/chmlib/CMakeLists.txt
new file mode 100644
index 0000000..738a4b5
--- /dev/null
+++ b/lib/chmlib/CMakeLists.txt
@@ -0,0 +1,22 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### chm (static)
+
+tde_add_library( chm STATIC_PIC
+
+ SOURCES
+ chm_lib.c
+ lzx.c
+)