MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012402 | CMake | CMake | public | 2011-08-16 07:37 | 2016-06-10 14:31 |
| Reporter | Galeazzi | ||||
| Assigned To | Philip Lowman | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | x86_64 | OS | Linux | OS Version | Fedora 15 64bit |
| Product Version | CMake 2.8.4 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012402: boost components aren't found | ||||
| Description | The findBoost module seems is not able to detect the boost library components even setting the BOOST_LIBRARYDIR variable. | ||||
| Steps To Reproduce | That's a simple CMakeLists.txt to reproduce the bug: cmake_minimum_required(VERSION 2.8) project(BoostICP) set(Boost_DEBUG 1) set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(BOOST_LIBRARYDIR /usr/lib64) FIND_PACKAGE(Boost COMPONENTS date_time) IF (Boost_FOUND) INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIR}) message(STATUS "Boost lib: ${Boost_LIBRARIES}") else() message(FATAL_ERROR "Boost not found") ENDIF() SET(SOURCES_MAIN ./src/main.cpp) set(SOURCES_ ${SOURCES_MAIN}) add_executable(Boost-ICP ${SOURCES_MAIN}) link_directories(/usr/lib64) target_link_libraries(Boost-ICP ${Boost_LIBRARIES} rt) | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-08-16 07:37 | Galeazzi | New Issue | |||
| 2011-08-16 08:17 | Brad King | Assigned To | => Philip Lowman | ||
| 2011-08-16 08:17 | Brad King | Status | new => assigned | ||
| 2011-10-21 23:38 | McBen | Note Added: 0027610 | |||
| 2011-10-21 23:39 | McBen | Note Edited: 0027610 | bug_revision_view_page.php?rev_id=437 | ||
| 2011-10-22 00:01 | McBen | Note Deleted: 0027610 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041885 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||