klausz65
2023-03-14 15fd051e0141168acf4bec4a15618220126333fb
cmake.mk: fix CMAKE_LIBRARY_ARCHITECTURE $(MACH64)

1 files modified
2 ■■■ changed files
make-rules/cmake.mk 2 ●●● patch | view | raw | blame | history
make-rules/cmake.mk
@@ -146,7 +146,7 @@
# variable that we can generally use to accomplish the same result.  Setting
# them both shouldn't harm anything.
CMAKE_OPTIONS += -DLIB_INSTALL_DIR="$(CMAKE_PREFIX)/$(CMAKE_LIBDIR.$(BITS))"
CMAKE_OPTIONS.64 += -DCMAKE_LIBRARY_ARCHITECTURE=amd64
CMAKE_OPTIONS.64 += -DCMAKE_LIBRARY_ARCHITECTURE=$(MACH64)
CMAKE_OPTIONS.64 += -DLIB_SUFFIX="/$(MACH64)"
endif
CMAKE_OPTIONS += $(CMAKE_OPTIONS.$(BITS))