Skip to content

Commit 5e5968f

Browse files
author
Piotr Hałas
committed
fix: use absolute path for CMAKE_INSTALL_PREFIX
1 parent 4c2415a commit 5e5968f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-piper1: init-submodules build-libpiper
2121
build-libpiper:
2222
@echo "Building libpiper..."
2323
mkdir -p $(LIBPIPER_BUILD_DIR)
24-
cd $(LIBPIPER_BUILD_DIR) && cmake .. -DCMAKE_INSTALL_PREFIX=$(LIBPIPER_INSTALL_DIR)
24+
cd $(LIBPIPER_BUILD_DIR) && cmake .. -DCMAKE_INSTALL_PREFIX=$(CURDIR)/$(LIBPIPER_INSTALL_DIR)
2525
cd $(LIBPIPER_BUILD_DIR) && $(MAKE)
2626
cd $(LIBPIPER_BUILD_DIR) && $(MAKE) install
2727
@echo "libpiper installed to $(LIBPIPER_INSTALL_DIR)/"

0 commit comments

Comments
 (0)