From 0541c088649ecf07b89016c1918939c5d692e1e9 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 19 Aug 2016 16:18:27 +0200 Subject: [PATCH] Fix detecting static 3rd party libs --- CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b98ab6..2c86dd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,7 +168,15 @@ use_cpp_utilities() # find 3rd party libraries include(3rdParty) -use_external_library_from_package(ZLIB ANY_VERSION ZLIB_INCLUDE_DIRS ZLIB_LIBRARIES AUTO_LINKAGE REQUIRED) # zlib +# zlib +use_external_library_from_package( + z + ZLIB ANY_VERSION + ZLIB_INCLUDE_DIRS + ZLIB_LIBRARIES + AUTO_LINKAGE + REQUIRED +) # include modules to apply configuration include(BasicConfig)