The Autotools build system only disables demand loading in `gvpack` among the
tools, but the CMake build system was disabling it for all tools.
## [Unreleased (7.0.3)]
+### Fixed
+
+- The CMake build system no longer builds auxiliary tools beyond `gvpack` with
+ demand loading disabled.
+
## [7.0.2] – 2022-11-18
### Added
# =================================== gvpack ===================================
# TODO add gvpack_static
-add_definitions(-DDEMAND_LOADING=0)
-
add_executable(gvpack
# Source files
gvpack.cpp
)
+target_compile_definitions(gvpack PRIVATE DEMAND_LOADING=0)
+
target_include_directories(gvpack PRIVATE
../../lib
${CMAKE_CURRENT_SOURCE_DIR}