We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-DZXING_EXPERIMENTAL_API
1 parent ea6e337 commit 7371d17Copy full SHA for 7371d17
core/CMakeLists.txt
@@ -640,6 +640,9 @@ install (
640
)
641
642
IF (NOT WIN32 OR MINGW)
643
+ if (${ZXING_EXPERIMENTAL_API})
644
+ set(COMPILE_FLAGS "-DZXING_EXPERIMENTAL_API")
645
+ endif()
646
configure_file(zxing.pc.in zxing.pc @ONLY)
647
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/zxing.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
648
ENDIF()
core/zxing.pc.in
@@ -5,4 +5,4 @@ Name: ZXing
5
Description: ZXing-C++ library
6
Version: @PROJECT_VERSION@
7
Libs: -L${libdir} -lZXing
8
-Cflags: -I${includedir} -I${includedir}/ZXing
+Cflags: -I${includedir} -I${includedir}/ZXing @COMPILE_FLAGS@
0 commit comments