mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +02:00
Conan is able to set C++ version when cppstd is used
This commit is contained in:
@@ -30,7 +30,6 @@ conan_basic_setup(TARGETS)
|
||||
|
||||
# test conan-generated target
|
||||
add_executable(${PROJECT_NAME}_conan test_package.cpp)
|
||||
target_compile_features(${PROJECT_NAME}_conan PRIVATE cxx_std_20) # Conan is not able to propagate that yet :-(
|
||||
target_link_libraries(${PROJECT_NAME}_conan PRIVATE CONAN_PKG::mp-units)
|
||||
|
||||
# test cmake-generated target
|
||||
|
Reference in New Issue
Block a user