From 2810a09c582b09104c04f16e5a3086cbe3e79d23 Mon Sep 17 00:00:00 2001 From: Gil Date: Tue, 26 Jun 2018 11:58:10 -0700 Subject: Prepare for installed sub-projects (#1459) * Ignore vim backup files * Prepare for installed subprojects This adds FIREBASE_BINARY_DIR to point to the out-of-source build directory (which previously was passed around as FIREBASE_INSTALL_DIR). This repurposes FIREBASE_INSTALL_DIR to point to ${FIREBASE_BINARY_DIR}/opt, and installation root for subprojects that have an install step. * Allow download directory to be specified --- cmake/FindProtobuf.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/FindProtobuf.cmake') diff --git a/cmake/FindProtobuf.cmake b/cmake/FindProtobuf.cmake index 60a2e34..ae438bb 100644 --- a/cmake/FindProtobuf.cmake +++ b/cmake/FindProtobuf.cmake @@ -14,7 +14,7 @@ include(FindPackageHandleStandardArgs) -set(BINARY_DIR ${FIREBASE_INSTALL_DIR}/external/protobuf) +set(BINARY_DIR ${FIREBASE_BINARY_DIR}/external/protobuf) find_path( PROTOBUF_INCLUDE_DIR google/protobuf/stubs/common.h -- cgit v1.2.3