Add C:\local\ to the list of possibilities for boost.

This commit is contained in:
Maxime Gimeno 2020-11-17 10:29:54 +01:00
parent b3b087dfcf
commit 584cad864c
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ endif()
if(NOT BOOST_DIRS)
file(GLOB BOOST_DIRS "C:/Program Files (x86)/boost*")
endif()
if(NOT BOOST_DIRS)
file(GLOB BOOST_DIRS "C:/local/boost*")
endif()
if(BOOST_DIRS)
list(GET BOOST_DIRS 0 boost_dir)
list(APPEND CMAKE_PREFIX_PATH "${boost_dir}")