mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 20:40:15 +00:00
CMakeLists: Set Boost_INCLUDE_DIR.
This commit is contained in:
parent
7a7457085f
commit
53375018a6
@ -118,12 +118,11 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Boost 1.57.0 QUIET)
|
find_package(Boost 1.57.0 QUIET)
|
||||||
if (Boost_FOUND)
|
if (NOT Boost_FOUND)
|
||||||
include_directories(${Boost_INCLUDE_DIRS})
|
|
||||||
else()
|
|
||||||
message(STATUS "Boost 1.57.0 or newer not found, falling back to externals")
|
message(STATUS "Boost 1.57.0 or newer not found, falling back to externals")
|
||||||
include_directories(externals/boost)
|
set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/boost")
|
||||||
endif()
|
endif()
|
||||||
|
include_directories(${Boost_INCLUDE_DIR})
|
||||||
|
|
||||||
# Include bundled CMake modules
|
# Include bundled CMake modules
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules")
|
||||||
|
Loading…
Reference in New Issue
Block a user