FelgoSDK/QtQuickFelgoLiveExample-CMake

CMake errors

Opened this issue · 0 comments

I have CMake errors right after clone this example.
My setup:
Ubuntu Studio 22.10
Qt standalone install in ~/Qt - ver 5.15.2 with Felgo plugin from Marketplace

error:
CMake Error at CMakeLists.txt:30 (find_package):
By not providing "FindFelgo.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Felgo", but
CMake did not find one.

If I add suggested dirs
set(Felgo_DIR ~/Qt/5.15.2/gcc_64/lib/cmake/Felgo/)
set(Qt5Multimedia_DIR ~/Qt/5.15.2/gcc_64/lib/cmake/Qt5Multimedia/)
error is:
CMake Error in CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "Felgo" configuration
"Debug".

CMake Error in CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "FelgoLive" configuration
"Debug".

I think this is related with my Qt/Felgo configuration rather than with yours example project, but I think it can be (and should be) fixed with some conditional commands in CMake, because I have all components installed (qmake project build without problems with my setup).