瀏覽代碼

Fixes the blacklist filter in the event we aren't using SDL to avoid including an unwanted file dialog codefile.

Areloch 9 年之前
父節點
當前提交
a63a636d03
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Tools/CMake/torque3d.cmake

+ 3 - 2
Tools/CMake/torque3d.cmake

@@ -196,14 +196,15 @@ addPath("${srcDir}/math")
 addPath("${srcDir}/math/util")
 addPath("${srcDir}/math/test")
 
+addPath("${srcDir}/platform")
 if(NOT TORQUE_SDL) 
    set(BLACKLIST "fileDialog.cpp" )
 endif()
-addPath("${srcDir}/platform")
+addPath("${srcDir}/platform/nativeDialogs")
 set(BLACKLIST "" )
 
 addPath("${srcDir}/cinterface")
-addPath("${srcDir}/platform/nativeDialogs")
+
 if( NOT TORQUE_DEDICATED )
     addPath("${srcDir}/platform/menus")
 endif()