Template CMakeLists.txt for working with Urho3D?

Hey, is there a template CMakeLists.txt for Urho3D projects? I am having some trouble getting stuff to work because my CMake skills are miserable.

This is my current file:

cmake_minimum_required(VERSION 3.5)

project(phouse LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(phouse main.cpp)

target_link_libraries(phouse PRIVATE Urho3D GL)

which ofc does not work!

:books: Project scaffolding

1 Like

Oops, I should’ve RTFM.