Skip to content
Snippets Groups Projects
Select Git revision
  • ac2fd5302f4fc16c70d3562a4fa5118f760fb656
  • master default protected
  • vertical_relations
  • lu_without_semantic_frames
  • hierarchy
  • additional-unification-filters
  • v0.1.1
  • v0.1.0
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
  • v0.0.1
17 results

urls.py

Blame
  • FindSigC++.cmake NaN GiB
    # - Try to find SigC++-2.0
    # Once done, this will define
    #
    #  SigC++_FOUND - system has SigC++
    #  SigC++_INCLUDE_DIRS - the SigC++ include directories
    #  SigC++_LIBRARIES - link these to use SigC++
    
    include(LibFindMacros)
    
    # Use pkg-config to get hints about paths
    libfind_pkg_check_modules(SigC++_PKGCONF sigc++-2.0)
    
    # Main include dir
    find_path(SigC++_INCLUDE_DIR
      NAMES sigc++/sigc++.h
      PATHS ${SigC++_PKGCONF_INCLUDE_DIRS}
      PATH_SUFFIXES sigc++-2.0
    )
    
    # Glib-related libraries also use a separate config header, which is in lib dir
    find_path(SigC++Config_INCLUDE_DIR
      NAMES sigc++config.h
      PATHS ${SigC++_PKGCONF_INCLUDE_DIRS} /usr
      PATH_SUFFIXES lib/sigc++-2.0/include
    )
    
    libfind_library(SigC++ sigc 2.0)
    
    # Set the include dir variables and the libraries and let libfind_process do the rest.
    # NOTE: Singular variables for this library, plural for libraries this this lib depends on.
    set(SigC++_PROCESS_INCLUDES SigC++_INCLUDE_DIR SigC++Config_INCLUDE_DIR)
    set(SigC++_PROCESS_LIBS SigC++_LIBRARY)
    libfind_process(SigC++)