summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2021-03-16 15:29:15 -0400
committerJackLivio <jack@livio.io>2021-03-16 15:29:15 -0400
commit6ef344d59df6e1a76fc984fabb53796ff3def9ba (patch)
tree9bba5f7265d0fbfa478f4533a5064cc6217a9922
parentc9fc5599ad7bd449e1e0caad06a0c3aa68cf718d (diff)
downloadsdl_core-fix/boost_cmake_error.tar.gz
Set boost cmake flagfix/boost_cmake_error
-rw-r--r--src/3rd_party/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rd_party/CMakeLists.txt b/src/3rd_party/CMakeLists.txt
index 2673deb142..26baeca3eb 100644
--- a/src/3rd_party/CMakeLists.txt
+++ b/src/3rd_party/CMakeLists.txt
@@ -221,6 +221,7 @@ else()
endif()
set(BOOST_ROOT ${3RD_PARTY_INSTALL_PREFIX})
+set(Boost_NO_BOOST_CMAKE ON)
find_package(Boost 1.72.0 COMPONENTS system thread date_time filesystem regex)
if (NOT ${Boost_FOUND})
set(BOOST_LIB_SOURCE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/boost_src)