Bug #72188 WITH_BOOST not shown in cmake-gui
Submitted: 1 Apr 2014 13:45 Modified: 30 May 2014 14:08
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:mysql-5.7.4-labs-april OS:Any
Assigned to: Tor Didriksen CPU Architecture:Any

[1 Apr 2014 13:45] Hartmut Holzgraefe
Description:
DOWNLOAD_BOOST option is shown in cmake-gui (after running into the boost version check error message first), but WITH_BOOST isn't

also, maybe due to bug #72185, at the point that the configuration step has already been run once to collect possible parameters it is too late to add WITH_BOOST manually ...

only when first adding WITH_BOOST and DOWNLOAD_BOOST manually first using 
the [+ Add Entry] button the [Configure] step succeeds and building is possible

How to repeat:
* start cmake-gui
* hit [Configure] button
* then search for "boost"

the only two search matches are "DOWNLOAD_BOOST" and "BOOST_INCLUDE_DIR",
"WITH_BOOST" isn't part of the suggestions

Suggested fix:
Define WITH_BOOST as a PATH variable instead of an implicit internal one,
right now it shows up as 

  WITH_BOOST:UNINITIALIZED=/some/path

in CMakeCache.txt
[1 Apr 2014 19:36] Sveta Smirnova
Thank you for the report.

Verified as described.
[30 May 2014 14:08] Paul Dubois
Fixed in 5.7.5.

Affects no released version. No changelog entry needed.