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

Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic

Areloch пре 2 година
родитељ
комит
7819ca4037
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      Engine/source/CMakeLists.txt

+ 6 - 0
Engine/source/CMakeLists.txt

@@ -130,6 +130,12 @@ torqueAddSourceDirectories("module")
 
 
 # Handle forest
 # Handle forest
 torqueAddSourceDirectories("forest" "forest/ts")
 torqueAddSourceDirectories("forest" "forest/ts")
+if(TORQUE_OPENGL)
+  torqueAddSourceDirectories("forest" "forest/glsl")
+endif(TORQUE_OPENGL)
+if(TORQUE_D3D11)
+  torqueAddSourceDirectories("forest" "forest/hlsl")
+endif(TORQUE_OPENGL)
 
 
 # Handle shadergen
 # Handle shadergen
 torqueAddSourceDirectories("shaderGen")
 torqueAddSourceDirectories("shaderGen")