Skip to content

Commit 1c9bef0

Browse files
authored
Remove a couple of now-unnecessary CMake defines (libgit2#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.
1 parent 33dac3d commit 1c9bef0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

script/build-libgit2.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ cmake -DTHREADSAFE=ON \
4141
-DCMAKE_C_FLAGS=-fPIC \
4242
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
4343
-DCMAKE_INSTALL_PREFIX="${BUILD_PATH}/install" \
44-
-DINCLUDE_INSTALL_DIR="${BUILD_PATH}/install/include" \
45-
-DLIB_INSTALL_DIR="${BUILD_PATH}/install/lib" \
4644
"${VENDORED_PATH}" &&
4745

4846
exec cmake --build . --target install

0 commit comments

Comments
 (0)