Hi, I’m trying to set up Urho3D as a submodule inside my own application according to this link:
I’ve copied CMake/Modules to the root folder and added the code to CMakeLists.txt exactly as shown there, but when I try to configure the project through cmake-gui I receive this error:
CMake Error at CMake/Modules/FindUrho3D.cmake:347 (message):
Could NOT find compatible Urho3D library in Urho3D SDK installation or
build tree. Use URHO3D_HOME environment variable or build option to
specify the location of the non-default SDK installation or build tree.
Ensure the specified location contains the Urho3D library of the requested
library type.
Call Stack (most recent call first):
CMake/Modules/UrhoCommon.cmake:230 (find_package)
CMakeLists.txt:22 (include)
I have already set URHO3D_HOME inside cmake_gui pointing to the Urho3D folder (inside Dependencies/Urho3D), but it keeps complaining that can’t find the library or SDK installation. What am I missing here?
Thanks in advance!