mirror of
https://github.com/GerbilSoft/zlib-ng.git
synced 2025-06-18 11:35:35 -04:00
pkgconfig file: propagate WITH_GZFILEOP
This commit is contained in:
parent
8770d93a02
commit
0560a3a63d
@ -1159,6 +1159,9 @@ else()
|
||||
endif()
|
||||
|
||||
set(ZLIB_PC ${CMAKE_CURRENT_BINARY_DIR}/zlib${SUFFIX}.pc)
|
||||
if(WITH_GZFILEOP)
|
||||
set(PKG_CONFIG_CFLAGS "-DWITH_GZFILEOP")
|
||||
endif()
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/zlib.pc.cmakein
|
||||
${ZLIB_PC} @ONLY)
|
||||
configure_file(${CMAKE_CURRENT_BINARY_DIR}/zconf${SUFFIX}.h.cmakein
|
||||
|
@ -11,4 +11,4 @@ Version: @ZLIB_FULL_VERSION@
|
||||
|
||||
Requires:
|
||||
Libs: -L${libdir} -L${sharedlibdir} -lz@SUFFIX@
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir} @PKG_CONFIG_CFLAGS@
|
||||
|
Loading…
Reference in New Issue
Block a user