COIN-OR::LEMON - Graph Library

Ticket #477: ce896fa7fd65.patch

File ce896fa7fd65.patch, 751 bytes (added by Alpar Juttner, 11 years ago)
  • CMakeLists.txt

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1382437449 -7200
    #      Tue Oct 22 12:24:09 2013 +0200
    # Node ID ce896fa7fd65d16cb390579f12f57249aeb874a4
    # Parent  15e233f588da4563e273f3dc2d489c8e3410e21a
    Turn on LEMON_ENABLE_DEBUG in Debug modes (#477)
    
    diff --git a/CMakeLists.txt b/CMakeLists.txt
    a b  
    211211    "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer."
    212212    FORCE )
    213213
     214SET_DIRECTORY_PROPERTIES(PROPERTIES
     215  COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG"
     216  COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG"
     217)
    214218
    215219INCLUDE(CheckTypeSize)
    216220CHECK_TYPE_SIZE("long long" LONG_LONG)