]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed unresolved external symbols when building maketrees.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Thu, 24 Oct 2019 15:43:10 +0000 (08:43 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 25 Oct 2019 06:37:19 +0000 (08:37 +0200)
CMakeLists.txt

index 978e746f7c56db81799b3add1b49b6c173f21699..e4729847eef2a5e962022c88c2303338b5d2118c 100644 (file)
@@ -895,7 +895,7 @@ if (ZLIB_ENABLE_TESTS)
     add_executable(makefixed tools/makefixed.c inftrees.c)
     target_include_directories(makefixed PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
 
-    add_executable(maketrees tools/maketrees.c trees.c)
+    add_executable(maketrees tools/maketrees.c trees.c zutil.c)
     target_include_directories(maketrees PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
 
     add_executable(makecrct tools/makecrct.c)