View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002111 | Spring engine | General | public | 2010-09-12 18:38 | 2010-09-14 11:43 | ||||
Reporter | spliff | ||||||||
Assigned To | hoijui | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.82.5 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002111: CMake MINGWLIBS overrides toolchain option | ||||||||
Description | I have setup a toolchain for cross compiling which sets MINGWLIBS to a custom path. Unfortunately CMakeLists.txt in spring clobbers the value. | ||||||||
Additional Information | CMakeLists.txt should check if this value is already set and not override it if it is. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2010-09-14 11:43 |
1. SET(MINGWLIBS "/home/userX/mingwlibs") 2. SET(MINGWLIBS "/home/userX/mingwlibs" CACHE PATH "Location of the mingwlibs package") 3. SET(MINGWLIBS "/home/userX/mingwlibs" CACHE PATH "Location of the mingwlibs package" FORCE) You should use either 2 or 3 for CACHE vars like MINGWLIBS. 2 only has an effect if there is no cache yet (eg, on first configure, or when you delete CMakeCache.txt). 3 resets the value on every call to configure (cmake .). In practise, they should both work fine for you. |