project(test_package C) cmake_minimum_required(VERSION 2.8.11) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() file(GLOB SOURCE_FILES *.c) message("LIBS: ${CONAN_LIBS}") add_executable(${PROJECT_NAME} ${SOURCE_FILES}) target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS})