Build fixed, goofed up some CMake

Forgot that CMake vars set to PARENT_SCOPE will still vanish if that
parent scope goes...out of scope.  LMDB vars elevated one more scope to
compensate for moving db_drivers/ into external/
This commit is contained in:
Thomas Winget 2015-03-10 12:51:23 -04:00
parent b21335642e
commit 8b82f3c57f
No known key found for this signature in database
GPG Key ID: 58131A160789E630
1 changed files with 4 additions and 0 deletions

View File

@ -99,3 +99,7 @@ else()
endif()
add_subdirectory(db_drivers)
set(LMDB_STATIC ${LMDB_STATIC} PARENT_SCOPE)
set(LMDB_INCLUDE ${LMDB_INCLUDE} PARENT_SCOPE)
set(LMDB_LIBRARY ${LMDB_LIBRARY} PARENT_SCOPE)
set(LMDB_LIBRARY_DIRS ${LMDB_LIBRARY_DIRS} PARENT_SCOPE)