Bug #600
CMake - EMBED_DATA vs. WITH_KDE
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Build System
Target version:
-
Start date:
03/07/2009
Due date:
% Done:
0%
Estimated time:
Version:
0.4.0
OS:
Any
Description
Enabling both EMBED_DATA and WITH_KDE at the same time does not seem to issue a warning (or better: error).
History
#1 Updated by johu almost 15 years ago
- Status changed from New to Feedback
please give a reason, why this is a bug
#2 Updated by DevUrandom almost 15 years ago
Puh, it's been quite a little while since I found this issue...
Assumption from reading my description: WITH_KDE uses KDE icons, and EMBED_DATA embeds them into the quassel binary? Best is probably you try it and see what happens...
#3 Updated by MarcLandis almost 15 years ago
- Status changed from Feedback to Closed
if you set both to ON then EMBED_DATA is later set to OFF in the CMakeList:
- Setup KDE4 support
if(WITH_KDE)
find_package(KDE4)
if(KDE4_FOUND)
message(STATUS "Enabling KDE4 integration")
include_directories(${KDE4_INCLUDES})
add_definitions(-DHAVE_KDE ${KDE4_DEFINITIONS})
set(HAVE_KDE 1)
set(QUASSEL_KDE_LIBRARIES ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY} ${KDE4_SOLID_LIBS} knotifyconfig) # We always use external icons for KDE4 support, since we use its iconloader rather than our own
set(EMBED_DATA OFF)
else(KDE4_FOUND)
message(STATUS "KDE4 not found, disabling KDE integration")
endif(KDE4_FOUND)
else(WITH_KDE)
message(STATUS "Not enabling KDE4 integration")
endif(WITH_KDE)