Environment:
- Windows 10
- CMake 3.12.4
- Boost 1.68.0 installed from pre-compiled binary
"boost_1_68_0-msvc-14.0-64.exe" downloaded from
https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_projects_boost_files_boost-2Dbinaries_1.68.0_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=P9ZPbJehUz3WrP9d5HF3ig&m=y_dArCwaPPPEMXAhzXGHIXtIHnvmBjSk-KKWHHowVh0&s=A4TV6vHIws_vrs4gnW-pc70Z_nLlRHyBUL8uBmTkXWg&e=.

Problem:
When calling find_package(Boost COMPONENTS ...), FindBoost.cmake reports
error:
CMake Error at C:/Program
Files/CMake/share/cmake-3.12/Modules/FindBoost.cmake:1535
(_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS):
  Unknown CMake command
  "_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS".
Call Stack (most recent call first):
-- omitted --

So does the problem occur only when CMake is working with Boost 1.68.0
pre-compiled
binary? How to fix it? Should I downgrade Boost or upgrade CMake? Please
let me know if you need other information for troubleshooting. Thanks.
-- 

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

Reply via email to