On 09/11/2016 16:05, Jayesh Badwaik wrote:
Hi,

TL;DR
Is there a default value for CMAKE_MODULE_PATH which allows me to use a module
file from inside my PROJECT_SOURCE_DIR.

Context:
Over past few days, Boost has updated from version 1.61 to version 1.62. The
latest version of CMake that I have (3.6.3) does not yet have the appropriate
FindBoost.cmake and hence, issues warnings as shown in the postscript.


Have you tried setting Boost_ADDITIONAL_VERSIONS ? c.f FindBoost's 
documentation:

   Boost_ADDITIONAL_VERSIONS
                          - List of Boost versions not known to this module
                            (Boost install locations may contain the version)

I don't know what changed in Boost 1.62 but doing so may be enough for you.

Alternatively, you can set CMAKE_MODULE_PATH by hand in your command line.

BR
David

--
David Wagner

complex != complicated
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to