We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae8f2e6 commit aa7c407Copy full SHA for aa7c407
CMakeLists.txt
@@ -59,6 +59,9 @@ endif()
59
if (CPPSORT_USE_LIBASSERT)
60
target_link_libraries(cpp-sort INTERFACE libassert::assert)
61
target_compile_definitions(cpp-sort INTERFACE CPPSORT_USE_LIBASSERT)
62
+ if (MSVC)
63
+ target_compile_options(cpp-sort INTERFACE /Zc:preprocessor)
64
+ endif()
65
endif()
66
67
add_library(cpp-sort::cpp-sort ALIAS cpp-sort)
0 commit comments