commit a17da0b6bbcc6e383e3e3b5ed02a3d295eac4e03
parent d0b4bb9ebf48a42ddd6b4a59796f02009dc6ed5b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 9 Jul 2024 15:20:35 +0200
clipper2: fix a patch applied to its CMake file
The installation destination was incorrectly defined, leading to
compilation errors with some versions of CMake. Other versions did not
display such errors without any explanation, since the patched CMake
command seemed to be wrong in all cases.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/clipper2.mk.in b/src/clipper2.mk.in
@@ -48,7 +48,7 @@ $(CLIPPER2_DIR)/patch: $(CLIPPER2_DIR)
"$(CLIPPER2_DIR)/CPP/CMakeLists.txt"
# Missing LIBRARY DESTINATION for targets (cmake fails)
re="install(TARGETS Clipper2 Clipper2Z"; \
- sed -i "s/^$${re}$$/$${re} LIBRARY DESTINATION $${CMAKE_INSTALL_LIBDIR}/" \
+ sed -i "s/^$${re}$$/$${re} LIBRARY DESTINATION \$${CMAKE_INSTALL_LIBDIR}/" \
"$(CLIPPER2_DIR)/CPP/CMakeLists.txt"
# Missing cstdint (compilation fails)
re="#include <climits>"; \