cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #05898
[Bug 1256335] [NEW] build issues with cmake
Public bug reported:
I downloaded the latest version of Cairo Dock and compiled on OpenSuse
13.1. When running:
cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr
I get this:
CMake Error at src/gldit/CMakeLists.txt:71 (if):
if given arguments:
"GREATER" "3" "OR" "(" "EQUAL" "3" "AND" "GREATER" "8" ")"
A work around is to get rid of the curly brackets and replace:
# Gtk > 3.8
if (${GTK_MAJOR} GREATER 3 OR (${GTK_MAJOR} EQUAL 3 AND ${GTK_MINOR} GREATER
8))
LIST(APPEND core_lib_SRCS gtk3imagemenuitem.c gtk3imagemenuitem.h)
endif()
with:
# Gtk > 3.8
if ($GTK_MAJOR EQUAL 3 AND $GTK_MINOR GREATER 8)
LIST(APPEND core_lib_SRCS gtk3imagemenuitem.c gtk3imagemenuitem.h)
endif()
** Affects: cairo-dock-core
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/1256335
Title:
build issues with cmake
Status in Cairo-Dock : Core:
New
Bug description:
I downloaded the latest version of Cairo Dock and compiled on OpenSuse
13.1. When running:
cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr
I get this:
CMake Error at src/gldit/CMakeLists.txt:71 (if):
if given arguments:
"GREATER" "3" "OR" "(" "EQUAL" "3" "AND" "GREATER" "8" ")"
A work around is to get rid of the curly brackets and replace:
# Gtk > 3.8
if (${GTK_MAJOR} GREATER 3 OR (${GTK_MAJOR} EQUAL 3 AND ${GTK_MINOR} GREATER
8))
LIST(APPEND core_lib_SRCS gtk3imagemenuitem.c gtk3imagemenuitem.h)
endif()
with:
# Gtk > 3.8
if ($GTK_MAJOR EQUAL 3 AND $GTK_MINOR GREATER 8)
LIST(APPEND core_lib_SRCS gtk3imagemenuitem.c gtk3imagemenuitem.h)
endif()
To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-core/+bug/1256335/+subscriptions
Follow ups
References