Commit 39986b3f authored by Marco Mariani's avatar Marco Mariani

use cmake from $PATH (mysql)

parent c71d1f97
...@@ -51,7 +51,7 @@ build: ...@@ -51,7 +51,7 @@ build:
$(MAC_TARGET) CFLAGS="-g -O3 $(PLAT_CFLAGS)" CXXFLAGS="-g -O3 $(PLAT_CXX_FLAGS) -felide-constructors -fno-exceptions -fno-rtti" \ $(MAC_TARGET) CFLAGS="-g -O3 $(PLAT_CFLAGS)" CXXFLAGS="-g -O3 $(PLAT_CXX_FLAGS) -felide-constructors -fno-exceptions -fno-rtti" \
$(LDFLAGS) \ $(LDFLAGS) \
CPPFLAGS="-I$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/include" \ CPPFLAGS="-I$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/include" \
/usr/bin/cmake . -DCMAKE_SKIP_BUILD_RPATH=FALSE -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \ cmake . -DCMAKE_SKIP_BUILD_RPATH=FALSE -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
-DCMAKE_INSTALL_RPATH="$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/lib" \ -DCMAKE_INSTALL_RPATH="$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/lib" \
-DCMAKE_PREFIX_PATH=$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION):$(NCURSES_PREFIX) \ -DCMAKE_PREFIX_PATH=$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION):$(NCURSES_PREFIX) \
-DCMAKE_C_FLAGS="-I$(NCURSES_PREFIX)/include" \ -DCMAKE_C_FLAGS="-I$(NCURSES_PREFIX)/include" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment