Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Force ON LLVM_ENABLE_CXX1Y when cxx14 is enabled.
  • Loading branch information
Whitney Armstrong committed Jul 14, 2016
commit 2bdf549df3334e66852051c968572ccd6f0e9032
2 changes: 2 additions & 0 deletions cmake/modules/CheckCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ if(cxx14)
if(NOT HAS_CXX14)
message(STATUS "Current compiler does not suppport -std=c++14 option. Switching OFF cxx14 option")
set(cxx14 OFF CACHE BOOL "" FORCE)
else()
set(LLVM_ENABLE_CXX1Y ON CACHE BOOL "" FORCE)
endif()
set(root7 On)
endif()
Expand Down