mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:03:19 +00:00
CMakeLists: Remove now-unnecessary GCC special-casing
This issue has since been fixed in newer versions of Boost, so we don't need to worry about this anymore.
This commit is contained in:
parent
3bfd199497
commit
e5b004e903
|
@ -163,12 +163,6 @@ else()
|
||||||
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
|
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Fix GCC C++17 and Boost.ICL incompatibility (needed to build dynarmic)
|
|
||||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1485641#c1
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-new-ttp-matching")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set file offset size to 64 bits.
|
# Set file offset size to 64 bits.
|
||||||
#
|
#
|
||||||
# On modern Unixes, this is typically already the case. The lone exception is
|
# On modern Unixes, this is typically already the case. The lone exception is
|
||||||
|
@ -185,9 +179,9 @@ set_property(DIRECTORY APPEND PROPERTY
|
||||||
# System imported libraries
|
# System imported libraries
|
||||||
# ======================
|
# ======================
|
||||||
|
|
||||||
find_package(Boost 1.63.0 QUIET)
|
find_package(Boost 1.64.0 QUIET)
|
||||||
if (NOT Boost_FOUND)
|
if (NOT Boost_FOUND)
|
||||||
message(STATUS "Boost 1.63.0 or newer not found, falling back to externals")
|
message(STATUS "Boost 1.64.0 or newer not found, falling back to externals")
|
||||||
|
|
||||||
set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost")
|
set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost")
|
||||||
set(Boost_NO_SYSTEM_PATHS OFF)
|
set(Boost_NO_SYSTEM_PATHS OFF)
|
||||||
|
|
Loading…
Reference in a new issue