We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f082c89 commit 696390bCopy full SHA for 696390b
1 file changed
CMakeLists.txt
@@ -194,6 +194,10 @@ function(vefc_apply_common_options target)
194
target_compile_features(${target} PRIVATE cxx_std_20)
195
target_include_directories(${target} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
196
197
+ if(WIN32)
198
+ target_compile_definitions(${target} PRIVATE NOMINMAX WIN32_LEAN_AND_MEAN)
199
+ endif()
200
+
201
if(MSVC OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC"))
202
target_compile_options(${target} PRIVATE /utf-8)
203
endif()
0 commit comments