Added compile_flags setting to test_package to ensure that the dependency imported with Conan will compile with restrictive warning flags

This commit is contained in:
Mateusz Pusz
2019-09-30 11:12:50 +02:00
parent 7522b8a9fd
commit 1d476a3f69

View File

@ -25,6 +25,12 @@ project(test_package)
set(CMAKE_VERBOSE_MAKEFILE TRUE)
# set path to custom cmake modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
# compilation options and flags used in a project development process
include(common/cmake/compile_flags)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)