Skip to content

Commit

Permalink
Update recipes/cli11/all/test_v1_package/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: toge <toge.mail@gmail.com>
  • Loading branch information
paulharris and toge authored Oct 31, 2022
1 parent dc7f6e3 commit 1293631
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions recipes/cli11/all/test_v1_package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
cmake_minimum_required(VERSION 3.1)
project(test_package CXX)
cmake_minimum_required(VERSION 3.8)
project(test_package LANGUAGES CXX)

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)

find_package(CLI11 REQUIRED CONFIG)

add_executable(${CMAKE_PROJECT_NAME} ../test_package/test_package.cpp)
set_property(TARGET ${CMAKE_PROJECT_NAME} PROPERTY CXX_STANDARD 11)
target_link_libraries(${CMAKE_PROJECT_NAME} CLI11::CLI11)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package
${CMAKE_CURRENT_BINARY_DIR}/test_package)

0 comments on commit 1293631

Please sign in to comment.