mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user