gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Allow CPACK configuration on all platforms
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Ignore white space 16 line context
... ...
@@ -141,17 +141,17 @@
141 141
  )
142 142
ELSEIF(WIN32)
143 143
  INSTALL(
144 144
    FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake
145 145
    DESTINATION cmake
146 146
  )
147 147
ENDIF()
148 148

	
149
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR} AND WIN32)
149
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
150 150
  SET(CPACK_PACKAGE_NAME ${PROJECT_NAME})
151 151
  SET(CPACK_PACKAGE_VENDOR "EGRES")
152 152
  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
153 153
    "LEMON - Library for Efficient Modeling and Optimization in Networks")
154 154
  SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
155 155

	
156 156
  SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
157 157

	
0 comments (0 inline)