Le ven. 25 oct. 2019 à 09:55, Mahmood Naderan via CMake <cmake@cmake.org> a écrit :
> Even with the latest 3.15.4, I get the same error > > > $ cmake --version > cmake version 3.15.4 > > CMake suite maintained and supported by Kitware (kitware.com/cmake). > $ cmake -DBoost_NO_SYSTEM_PATHS=ON > -DBOOST_INCLUDE_DIR=/storage/users/mnaderan/boost_1_65_1/build/include/ > -DBoost_LIBRARY_DIRS=/storage/users/mnaderan/boost_1_65_1/build/lib/ > -DBoost_ADDITIONAL_VERSIONS=1.65.1 .. > could you try: $ cmake -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_ROOT=/storage/users/mnaderan/boost_1_65_1 -DBoost_ADDITIONAL_VERSIONS=1.65.1 you have a "case discrepancy" between: BOOST_INCLUDE_DIR and Boost_LIBRARY_DIRS and the error says: "missing: Boost_INCLUDE_DIR" FindBoost should be case tolerant for backward compat' issue but may be this does not work when specifying hint var in mixed case (wild guess). -- Eric
-- 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: https://cmake.org/mailman/listinfo/cmake