首页 > 解决方案 > 通过 CMake target_compile_feature 检查是否支持 std::make_unique

问题描述

是否可以确保std::make_unique通过 CMake 支持target_compile_feature

就像是:

target_compile_feature (target_name
    cxx_make_unique # won't work.
)

标签: c++cmake

解决方案


推荐阅读