vcpkg/ports/urho3d/externalproject.patch
Todor Prokopov 655e1b4dab
[urho3d] Add new port (#14538)
* [urho3d] Add new port

* [urho3d] Build master branch

* [urho3d] Fix osx build

* [urho3d] Fix windows build

* [urho3d] Update to newest version

* [urho3d] Add versions info

* [urho3d] arm and uwp are not supported

* [urho3d] Update versions info

* [urho3d] Convert CONTROL to vcpkg.json

* [urho3d] Update portfile.cmake to use newer cmake functions

* [urho3d] Fix ExternalProject_Add error

* [urho3d] Update versions info
2021-04-28 17:32:42 -07:00

13 lines
804 B
Diff

diff --git a/Source/Urho3D/CMakeLists.txt b/Source/Urho3D/CMakeLists.txt
index ae341cb3e..743302069 100644
--- a/Source/Urho3D/CMakeLists.txt
+++ b/Source/Urho3D/CMakeLists.txt
@@ -316,6 +316,7 @@ if (URHO3D_LUA)
else ()
set (ALTERNATE_COMMAND CMAKE_COMMAND ${CMAKE_COMMAND} -E env CC=${SAVED_CC} CXX=${SAVED_CXX} CI=$ENV{CI} ${CMAKE_COMMAND})
endif ()
+ set(CMAKE_DISABLE_SOURCE_CHANGES OFF)
ExternalProject_Add (tolua++
SOURCE_DIR ${CMAKE_SOURCE_DIR}/Source/ThirdParty/toluapp/src/bin
CMAKE_ARGS -D URHO3D_DEPLOYMENT_TARGET=generic -D DEST_RUNTIME_DIR=${CMAKE_BINARY_DIR}/bin/tool -D BAKED_CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR} -D URHO3D_UPDATE_SOURCE_TREE=${URHO3D_UPDATE_SOURCE_TREE} -D CMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}