View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009566CMakeModulespublic2009-09-18 14:092011-05-02 14:46
Reporterdataangel 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake 2.8.3 
Summary0009566: FindBoost.cmake should look in /opt/local for mac users
DescriptionThe default installation place for ports to drop boost installations is in /opt/local, so it should be one of the BOOST_ROOT's to try.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0017680)
dataangel (reporter)
2009-09-21 13:44

Actually, FindBoost should use CMAKE_SYSTEM_PREFIX_PATH, from brad.king commenting on 0009567:

This already exists. It's called "CMAKE_SYSTEM_PREFIX_PATH":

http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_SYSTEM_PREFIX_PATH [^]

It already takes care of listing 32-bit and 64-bit Program Files
directories, etc.

Furthermore, all the FIND_* commands already search under it.

If a module needs specific package names to be added, it is free to do so.
 For example, FindBoost could do:

 set(_boost_INCLUDE_SEARCH_DIRS)
 foreach(dir ${CMAKE_SYSTEM_PREFIX_PATH})
   list(APPEND _boost_INCLUDE_SEARCH_DIRS ${dir}/boost/include
${dir}/boost)
 endforeach()

instead of hard-coding the include search path.
(0023794)
David Cole (manager)
2010-12-08 10:33

I think this may have been fixed by a generic addition of looking for stuff in "/opt/local" on the Mac in the 2.8.3 release...
(0024888)
David Cole (manager)
2011-01-18 13:27

This should be fixed "automatically" now because CMAKE_SYSTEM_PREFIX_PATH always includes "/opt/local" in Darwin.cmake.

If there is still a problem, please feel free to re-open this issue and attach additional information.
(0026366)
David Cole (manager)
2011-05-02 14:46

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2009-09-18 14:09 dataangel New Issue
2009-09-18 14:24 Bill Hoffman Status new => assigned
2009-09-18 14:24 Bill Hoffman Assigned To => Brad King
2009-09-18 14:24 Bill Hoffman Assigned To Brad King => Douglas Gregor
2009-09-21 13:44 dataangel Note Added: 0017680
2010-08-28 10:20 Kovarththanan Rajaratnam Category CMake => Modules
2010-12-08 10:33 David Cole Assigned To Douglas Gregor => Philip Lowman
2010-12-08 10:33 David Cole Note Added: 0023794
2011-01-18 13:27 David Cole Note Added: 0024888
2011-01-18 13:27 David Cole Status assigned => resolved
2011-01-18 13:27 David Cole Fixed in Version => CMake 2.8.3
2011-01-18 13:27 David Cole Resolution open => fixed
2011-05-02 14:46 David Cole Note Added: 0026366
2011-05-02 14:46 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team