mirror of
https://github.com/araxiaonline/AzerothCore-wotlk-with-NPCBots.git
synced 2026-06-13 03:22:24 -04:00
chore(CMake): enable standard conforming MSVC preprocessor (#25828)
This commit is contained in:
@@ -36,6 +36,11 @@ target_compile_options(acore-compile-option-interface
|
||||
INTERFACE
|
||||
/utf-8)
|
||||
|
||||
target_compile_options(acore-compile-option-interface
|
||||
INTERFACE
|
||||
/Zc:preprocessor)
|
||||
message(STATUS "MSVC: Enabled standard conforming preprocessor")
|
||||
|
||||
if(PLATFORM EQUAL 64)
|
||||
# This definition is necessary to work around a bug with Intellisense described
|
||||
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
|
||||
|
||||
Reference in New Issue
Block a user