From 7468e2ec1240b424ee604cf980b9bca885c62acd Mon Sep 17 00:00:00 2001 From: Torfinn Berset Date: Thu, 31 Jan 2019 14:19:48 +0100 Subject: Also try to compile C++ version of test --- test_package/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test_package/CMakeLists.txt') diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index 89cddf4..2e4b243 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -1,8 +1,11 @@ cmake_minimum_required(VERSION 2.8.12) -project(TinyAesPackageTest C) +project(TinyAesPackageTest C CXX) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() add_executable(example ../test.c) +add_executable(example_cpp ../test.cpp) + target_link_libraries(example ${CONAN_LIBS}) +target_link_libraries(example_cpp ${CONAN_LIBS}) \ No newline at end of file -- cgit v1.2.3