Browse Source

Added URHO3D_URHO2D guard that seems omitted

Uchechukwu Nwokoma 7 năm trước cách đây
mục cha
commit
03d8c40252

+ 4 - 0
Source/Samples/49_Urho2DIsometricDemo/CMakeLists.txt

@@ -20,6 +20,10 @@
 # THE SOFTWARE.
 #
 
+if (NOT URHO3D_URHO2D)
+    return ()
+endif ()
+
 # Define target name
 set (TARGET_NAME 49_Urho2DIsometricDemo)
 

+ 4 - 0
Source/Samples/50_Urho2DPlatformer/CMakeLists.txt

@@ -20,6 +20,10 @@
 # THE SOFTWARE.
 #
 
+if (NOT URHO3D_URHO2D)
+    return ()
+endif ()
+
 # Define target name
 set (TARGET_NAME 50_Urho2DPlatformer)