View Issue Details

IDProjectCategoryView StatusLast Update
0002111Spring engineGeneralpublic2010-09-14 11:43
Reporterspliff Assigned Tohoijui  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version0.82.5 
Summary0002111: CMake MINGWLIBS overrides toolchain option
DescriptionI have setup a toolchain for cross compiling which sets MINGWLIBS to a custom path. Unfortunately CMakeLists.txt in spring clobbers the value.
Additional InformationCMakeLists.txt should check if this value is already set and not override it if it is.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

hoijui

2010-09-14 11:43

reporter   ~0005518

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.

Issue History

Date Modified Username Field Change
2010-09-12 18:38 spliff New Issue
2010-09-14 11:43 hoijui Note Added: 0005518
2010-09-14 11:43 hoijui Status new => resolved
2010-09-14 11:43 hoijui Resolution open => no change required
2010-09-14 11:43 hoijui Assigned To => hoijui