View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012402CMakeCMakepublic2011-08-16 07:372016-06-10 14:31
ReporterGaleazzi 
Assigned ToPhilip Lowman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSLinuxOS VersionFedora 15 64bit
Product VersionCMake 2.8.4 
Target VersionFixed in Version 
Summary0012402: boost components aren't found
DescriptionThe findBoost module seems is not able to detect the boost library components even setting the BOOST_LIBRARYDIR variable.
Steps To ReproduceThat'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)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041885)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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
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


Copyright © 2000 - 2018 MantisBT Team