From 1c9bef0f9f56100ae715fdd130beed6abfa9e475 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sat, 20 Jun 2020 12:39:03 -0700 Subject: [PATCH] Remove a couple of now-unnecessary CMake defines (#619) This change removes the `LIB_INSTALL_DIR` and `INCLUDE_INSTALL_DIR` from the `script/build-libgit2.sh` script, since they are now unneeded and just print a warning if they are used. --- script/build-libgit2.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/build-libgit2.sh b/script/build-libgit2.sh index 839b8f3..acbc84a 100755 --- a/script/build-libgit2.sh +++ b/script/build-libgit2.sh @@ -41,8 +41,6 @@ cmake -DTHREADSAFE=ON \ -DCMAKE_C_FLAGS=-fPIC \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ -DCMAKE_INSTALL_PREFIX="${BUILD_PATH}/install" \ - -DINCLUDE_INSTALL_DIR="${BUILD_PATH}/install/include" \ - -DLIB_INSTALL_DIR="${BUILD_PATH}/install/lib" \ "${VENDORED_PATH}" && exec cmake --build . --target install