Skip to content

Commit b9b60fc

Browse files
authored
Don't set CMAKE_INSTALL_<dir>. (JuliaLang#46061)
According to the docs, https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#module:GNUInstallDirs, it should be a relative path that will automatically be prefixed wit the CMAKE_INSTALL_PREFIX (which we already set). That means the default values, https://cmake.org/cmake/help/latest/command/install.html, should work just fine.
1 parent 1411cb8 commit b9b60fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

deps/tools/common.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ CMAKE_CC_ARG := $(CC_ARG)
1919
CMAKE_CXX_ARG := $(CXX_ARG)
2020

2121
CMAKE_COMMON := -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix) -DCMAKE_PREFIX_PATH=$(build_prefix)
22-
CMAKE_COMMON += -DCMAKE_INSTALL_LIBDIR=$(build_libdir) -DCMAKE_INSTALL_BINDIR=$(build_bindir)
2322
CMAKE_COMMON += -DLIB_INSTALL_DIR=$(build_shlibdir)
2423
ifeq ($(OS), Darwin)
2524
CMAKE_COMMON += -DCMAKE_MACOSX_RPATH=1

0 commit comments

Comments
 (0)