We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 941f579 commit 3c3964cCopy full SHA for 3c3964c
cmake/Modules/CocosConfigDefine.cmake
@@ -96,7 +96,7 @@ endif()
96
97
# Set macro definitions for special platforms
98
function(use_cocos2dx_compile_define target)
99
- target_compile_definitions(${target} PUBLIC "COCOS2D_DEBUG$<$<CONFIG:Debug>:=1>")
+ target_compile_definitions(${target} PUBLIC $<$<CONFIG:Debug>:COCOS2D_DEBUG=1>)
100
if(APPLE)
101
target_compile_definitions(${target} PUBLIC __APPLE__)
102
target_compile_definitions(${target} PUBLIC USE_FILE32API)
0 commit comments