Changeset 1138:f95b18d99843 in lemon-main
- Timestamp:
- 05/06/15 11:31:43 (10 years ago)
- Branch:
- default
- Parents:
- 1136:20f95cd51aba (diff), 1137:ca4e4a5e9b6e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r1136 r1138 8 8 CMAKE_POLICY(SET CMP0043 OLD) 9 9 ENDIF(POLICY CMP0043) 10 11 IF(POLICY CMP0026) 12 #This is for copying the dll's needed by glpk (in lp_test and mip_test) 13 CMAKE_POLICY(SET CMP0026 OLD) 14 ENDIF(POLICY CMP0026) 10 15 11 16 SET(PROJECT_NAME "LEMON") -
CMakeLists.txt
r1137 r1138 4 4 CMAKE_POLICY(SET CMP0048 OLD) 5 5 ENDIF(POLICY CMP0048) 6 7 IF(POLICY CMP0043) 8 CMAKE_POLICY(SET CMP0043 OLD) 9 ENDIF(POLICY CMP0043) 6 10 7 11 IF(POLICY CMP0026) … … 235 239 FORCE ) 236 240 241 SET_DIRECTORY_PROPERTIES(PROPERTIES 242 COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG" 243 COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG" 244 ) 237 245 238 246 INCLUDE(CheckTypeSize) … … 263 271 264 272 ENABLE_TESTING() 273 274 275 INCLUDE(CheckCXXCompilerFlag) 276 CHECK_CXX_COMPILER_FLAG("-std=c++11" LEMON_CXX11) 277 IF(LEMON_CXX11) 278 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 279 ENDIF() 280 265 281 266 282 IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
Note: See TracChangeset
for help on using the changeset viewer.