aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindLevelDB.cmake
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-06-26 11:58:10 -0700
committerGravatar GitHub <noreply@github.com>2018-06-26 11:58:10 -0700
commit2810a09c582b09104c04f16e5a3086cbe3e79d23 (patch)
tree0f9d6fac5ae1c22dfe33d575ef186bd6df5db764 /cmake/FindLevelDB.cmake
parent6e3dc15ce702b2446e33e03ebe5e6d372c6a00a6 (diff)
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
Diffstat (limited to 'cmake/FindLevelDB.cmake')
-rw-r--r--cmake/FindLevelDB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLevelDB.cmake b/cmake/FindLevelDB.cmake
index b664fa8..56f10e1 100644
--- a/cmake/FindLevelDB.cmake
+++ b/cmake/FindLevelDB.cmake
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-set(binary_dir ${FIREBASE_INSTALL_DIR}/external/leveldb/src/leveldb)
+set(binary_dir ${FIREBASE_BINARY_DIR}/external/leveldb/src/leveldb)
find_path(
LEVELDB_INCLUDE_DIR leveldb/db.h