Skip to content

Commit 79f5e5f

Browse files
committed
Warning, not error when Sfx Preprocessor can't find a macro.
1 parent 7ba3bb1 commit 79f5e5f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Applications/GuiSample/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ endif()
1717
if(PLATFORM_SUPPORT_VULKAN)
1818
target_link_libraries(GuiSample${STATIC_LINK_SUFFIX} SimulVulkan${STATIC_LINK_SUFFIX} ${Vulkan_LIBRARY} )
1919
endif()
20+

Applications/Sfx/Preprocessor.ypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
if(!m)
8181
{
8282
string str=string("Macro ")+id+string(" not defined");
83-
prepro_error(str.c_str());
83+
prepro_warning(str.c_str());
8484
return false;
8585
}
8686
int value=1;

0 commit comments

Comments
 (0)