← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1256335] Re: build issues with cmake

 

[Expired for Cairo-Dock Core because there has been no activity for 60
days.]

** Changed in: cairo-dock-core
       Status: Incomplete => Expired

-- 
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:
  Expired

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


References