https://bugs.kde.org/show_bug.cgi?id=376882

--- Comment #8 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
(In reply to Michael Zapf from comment #7)
> I just cloned kaffeine from Git and tried to compile, but failed with a
> "Unknown CMake command "qt5_add_resources"" which I could solve by adding
> "find_package(Qt5Core)" in the first line of ./src/CMakeLists.txt (why do I
> have to add a line to compile?)
> 
> However, now I'm getting 
> "install TARGETS given no RUNTIME DESTINATION for executable target
> "kaffeine"."
> 
> Line is:
> $ cmake src/ -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=/opt

No, it should be:

cmake . -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=/opt

No need to add anything at ./src/CMakeLists.txt

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to