Commit 9393b619 authored by Stefan Bodenschatz's avatar Stefan Bodenschatz
Browse files

Removed outdated workaround.

parent 64f49710
......@@ -8,13 +8,6 @@ target_include_directories(pfr INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/magic_get/include>
$<INSTALL_INTERFACE:include>)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# GCC broke their structured binding implementation in 7.2.0.
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81888
# TODO: Remove when fixed.
target_compile_options(magic_get INTERFACE -DBOOST_PFR_USE_CPP17=0)
endif()
install(TARGETS pfr EXPORT magic_get_targets INCLUDES DESTINATION include)
install(
DIRECTORY ${CMAKE_SOURCE_DIR}/magic_get/include/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment