Merge commit '147125babfc18abf586237344d6dab5a4bd1e79f' as 'libs/cli11'
This commit is contained in:
16
libs/cli11/test_package/CMakeLists.txt
Normal file
16
libs/cli11/test_package/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
project(PackageTest CXX)
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
message(STATUS "${CMAKE_PREFIX_PATH}")
|
||||
|
||||
find_package(CLI11 CONFIG REQUIRED)
|
||||
|
||||
add_executable(example example.cpp)
|
||||
target_link_libraries(example CLI11::CLI11)
|
||||
Reference in New Issue
Block a user