vcpkg/ports/urho3d/add_options.patch
Jack·Boos·Yu 4eebfa3bef
[urho3d] Add features, fix usage (#18975)
* [urho3d] Add features, fix usage

* update version stuff

* fix typo

* Correct installation

* fix installation

* update version

* Re-fix install

* Fix tools install

* typo

* Update versions/u-/urho3d.json
2021-07-22 14:52:17 -07:00

18 lines
459 B
Diff

diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 866fc22..ee02d2e 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -147,8 +147,12 @@ endif ()
# In order to get clean module segregation, always exclude player/samples from AAR
if (NOT ANDROID)
+ if (URHO3D_BUILD_TOOLS)
add_subdirectory (Tools)
+ endif()
+ if (URHO3D_BUILD_SAMPLES)
add_subdirectory (Samples)
+ endif()
endif ()
if (URHO3D_EXTRAS)