summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorWalter Pagani <paganiwalter@gmail.com>2024-02-08 06:07:14 -0300
committerGitHub <noreply@github.com>2024-02-08 06:07:14 -0300
commited53ac2febf8cc6009e55150e307a5025df2d8b6 (patch)
treea8770f5669c4cd696e0ad3c5ff9216f1fbeed328 /deps
parentd42e04097c45b3c6b79072ac3e79eaf826be8e65 (diff)
chore(deps/boost): Update cmake file compatible with new policies (#18283)
Diffstat (limited to 'deps')
-rw-r--r--deps/boost/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/boost/CMakeLists.txt b/deps/boost/CMakeLists.txt
index db4ef4ef5d..cb44a0f7f8 100644
--- a/deps/boost/CMakeLists.txt
+++ b/deps/boost/CMakeLists.txt
@@ -12,10 +12,10 @@
if(WIN32)
set(BOOST_DEBUG ON)
- if(DEFINED ENV{BOOST_ROOT})
- set(BOOST_ROOT $ENV{BOOST_ROOT})
+ if(DEFINED ENV{Boost_ROOT})
+ set(Boost_ROOT $ENV{Boost_ROOT})
list(APPEND BOOST_LIBRARYDIR
- ${BOOST_ROOT}/lib${PLATFORM}-msvc-14.2)
+ ${Boost_ROOT}/lib${PLATFORM}-msvc-14.2)
endif()
set(Boost_USE_STATIC_LIBS ON)
@@ -35,8 +35,8 @@ endif()
find_package(Boost ${BOOST_REQUIRED_VERSION} REQUIRED system filesystem program_options iostreams regex)
if(NOT Boost_FOUND)
- if(NOT DEFINED ENV{BOOST_ROOT} AND NOT DEFINED Boost_DIR AND NOT DEFINED BOOST_ROOT AND NOT DEFINED BOOSTROOT)
- message(FATAL_ERROR "No BOOST_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation.")
+ if(NOT DEFINED ENV{Boost_ROOT} AND NOT DEFINED Boost_DIR AND NOT DEFINED BOOST_ROOT AND NOT DEFINED BOOSTROOT)
+ message(FATAL_ERROR "No Boost_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation.")
endif()
endif()