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 24 line context
... ...
@@ -137,25 +137,25 @@
137 137
IF(UNIX)
138 138
  INSTALL(
139 139
    FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake
140 140
    DESTINATION share/lemon/cmake
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

	
158 158
  SET(CPACK_PACKAGE_INSTALL_DIRECTORY
159 159
    "${PROJECT_NAME} ${PROJECT_VERSION}")
160 160
  SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY
161 161
    "${PROJECT_NAME} ${PROJECT_VERSION}")
0 comments (0 inline)