File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ target_include_directories("matroska2" PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_
5252
5353if (CONFIG_ZLIB)
5454 if (ZLIB_FOUND)
55- target_link_libraries ("matroska2" PRIVATE $<BUILD_INTERFACE:z>)
55+ target_include_directories ("matroska2" PRIVATE ${ZLIB_INCLUDE_DIRS} )
56+ target_link_libraries ("matroska2" PRIVATE ${ZLIB_LIBRARIES} )
5657 else ()
5758 target_link_libraries ("matroska2" PRIVATE $<BUILD_INTERFACE:zlib>)
5859 endif ()
Original file line number Diff line number Diff line change 2828#include "matroska2/matroska.h"
2929#include "matroska2/matroska_sem.h"
3030#include "matroska2/matroska_classes.h"
31- #if defined(HAVE_ZLIB )
32- #include "zlib/zlib.h"
33- #elif defined(CONFIG_ZLIB )
34- #include "zlib.h"
31+ #if defined(CONFIG_ZLIB )
32+ #include <zlib.h>
3533#endif
3634#if defined(CONFIG_BZLIB )
3735#include <bzlib.h>
You can’t perform that action at this time.
0 commit comments