COIN-OR::LEMON - Graph Library

Ticket #240: windows-fix.patch

File windows-fix.patch, 1.4 KB (added by Akos Ladanyi, 16 years ago)

1d87c07e8533

  • CMakeLists.txt

    # HG changeset patch
    # User Akos Ladanyi <ladanyi@tmit.bme.hu>
    # Date 1237477289 0
    # Node ID 1d87c07e8533cd67d86e6015629f0a9d9759d162
    # Parent  9d0d7e20f76d71a7129ffbc9beb7092114587677
    CMake subproject support fixes (#240)
    
    diff --git a/CMakeLists.txt b/CMakeLists.txt
    a b  
    5050  SET(CPACK_PACKAGE_VENDOR "EGRES")
    5151  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
    5252    "LEMON - Library of Efficient Models and Optimization in Networks")
    53   SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
     53  SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
    5454
    5555  SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
    5656
     
    9393  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
    9494
    9595  SET(CPACK_GENERATOR "NSIS")
    96   SET(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/cmake/nsis/lemon.ico")
    97   SET(CPACK_NSIS_MUI_UNIICON "${CMAKE_SOURCE_DIR}/cmake/nsis/uninstall.ico")
    98   #SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/cmake/nsis\\\\installer.bmp")
     96  SET(CPACK_NSIS_MUI_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis/lemon.ico")
     97  SET(CPACK_NSIS_MUI_UNIICON "${PROJECT_SOURCE_DIR}/cmake/nsis/uninstall.ico")
     98  #SET(CPACK_PACKAGE_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis\\\\installer.bmp")
    9999  SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\lemon.ico")
    100100  SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}")
    101101  SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\lemon.cs.elte.hu")