]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: pass CMAKE_BUILD_TYPE down to rocksdb 11767/head
authorKefu Chai <kchai@redhat.com>
Thu, 3 Nov 2016 14:18:10 +0000 (22:18 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 3 Nov 2016 14:18:12 +0000 (22:18 +0800)
so rocksdb share the same ${CMAKE_BUILD_TYPE} with ceph

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt

index 833a4280e8002c315567d422aa9351ef802a1814..3e26065e2bd4392166d2f800c3274ec9d1f3f2d8 100644 (file)
@@ -650,6 +650,7 @@ else(WITH_CCACHE AND CCACHE_FOUND)
 endif(WITH_CCACHE AND CCACHE_FOUND)
 
 list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_AR=${CMAKE_AR})
+list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
 
 # we use an external project and copy the sources to bin directory to ensure
 # that object files are built outside of the source tree.