conan-recipes/RocksDB/test_package/CMakeLists.txt

13 lines
358 B
CMake
Raw Normal View History

2020-04-05 12:40:20 +02:00
project(PackageTest CXX)
cmake_minimum_required(VERSION 3.12)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_executable(rocks_sample rocksdb.cpp)
target_link_libraries(rocks_sample CONAN_PKG::rocksdb)
target_link_libraries(rocks_sample CONAN_PKG::gflags)