Преглед изворни кода

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()