Hi,
I'm trying to search Boost with find_package as it's said in manual:
# first I try to search boost in my folder
find_package(Boost PATHS /path/to/my/libs NO_DEFAULT_PATH)
#then I try to search in standard paths
find_package(Boost)

but cmake shoes warning message on first find_package:
----------
CMake Warning at CMakeLists.txt:41 (find_package):
  Could not find a configuration file for package Boost.

  Set Boost_DIR to the directory containing a CMake configuration file for
  Boost.  The file will have one of the following names:

    BoostConfig.cmake
    boost-config.cmake
---------

How can I suppress search in standard paths? Thanks in advance for any help.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to