diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index a814bb2..abb7239 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -6,6 +6,10 @@ add_library(gritwave::grit ALIAS gritwave-grit) target_compile_features(gritwave-grit INTERFACE cxx_std_20) target_link_libraries(gritwave-grit INTERFACE tetl::etl) +if(MSVC) + target_compile_options(gritwave-grit INTERFACE "/permissive-" "/Zc:__cplusplus") +endif(MSVC) + target_sources(gritwave-grit INTERFACE FILE_SET HEADERS