aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/fritz-tools
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/fritz-tools')
-rw-r--r--package/utils/fritz-tools/src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/utils/fritz-tools/src/CMakeLists.txt b/package/utils/fritz-tools/src/CMakeLists.txt
index 116bca9dc0..021dc7733a 100644
--- a/package/utils/fritz-tools/src/CMakeLists.txt
+++ b/package/utils/fritz-tools/src/CMakeLists.txt
@@ -5,6 +5,9 @@ ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
+FIND_PATH(zlib_include_dir zlib.h)
+INCLUDE_DIRECTORIES(${zlib_include_dir})
+
ADD_EXECUTABLE(fritz_tffs_read fritz_tffs_read.c)
ADD_EXECUTABLE(fritz_cal_extract fritz_cal_extract.c)
TARGET_LINK_LIBRARIES(fritz_cal_extract z)