View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004526 | Spring engine | Linux | public | 2014-08-29 02:27 | 2014-08-29 13:25 | ||||
Reporter | tspuhler | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Product Version | 97.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004526: spring-0.97 doesn't build with cmake-3.x | ||||||||
Description | spring-0.97 doesn't build with cmake-3.x (we will have cmake-3 in the upcoming release of mgaeia5) here is the error: CMake Error in tools/unitsync/test/CMakeLists.txt: You have set CMAKE_BACKWARDS_COMPATIBILITY to a CMake version less than 2.4. This version of CMake only supports backwards compatibility with CMake 2.4 or later. For compatibility with older versions please use any CMake 2.8.x release or lower. -- Configuring incomplete, errors occurred! | ||||||||
Steps To Reproduce | build the rpm with spec file (mageia) | ||||||||
Additional Information | I applied a patch to comment out the cmake to make it build. I don't know if this will create some problems. diff -ur spring_97.0/tools/unitsync/test/CMakeLists.txt spring_97.0-cmake-3/tools/unitsync/test/CMakeLists.txt --- spring_97.0/tools/unitsync/test/CMakeLists.txt 2014-05-31 16:27:46.000000000 -0700 +++ spring_97.0-cmake-3/tools/unitsync/test/CMakeLists.txt 2014-08-28 17:07:22.048863421 -0700 @@ -11,8 +11,9 @@ REMOVE_DEFINITIONS(-DUNITSYNC) # To allow linking to MODULE_LIBRARY targets -CMAKE_POLICY(SET CMP0001 OLD) -SET(CMAKE_BACKWARDS_COMPATIBILITY "2.2") +# This doesn't work with current cmake-3.xx +#CMAKE_POLICY(SET CMP0001 OLD) +#SET(CMAKE_BACKWARDS_COMPATIBILITY "2.2") ADD_EXECUTABLE(lua2php EXCLUDE_FROM_ALL lua2php.cpp) TARGET_LINK_LIBRARIES(lua2php unitsync ${CMAKE_DL_LIBS | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-29 02:27 | tspuhler | New Issue | |
2014-08-29 02:27 | tspuhler | File Added: cmake-3.patch | |
2014-08-29 13:24 | abma | Relationship added | duplicate of 0004415 |
2014-08-29 13:25 | abma | Status | new => closed |
2014-08-29 13:25 | abma | Assigned To | => abma |
2014-08-29 13:25 | abma | Resolution | open => duplicate |