mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
cmake: use correct variable for C++ compiler flags
Broken in 8ca936aea6
This commit is contained in:
@@ -183,7 +183,7 @@ CMAKE_POP_CHECK_STATE()
|
||||
# standards flag.
|
||||
# Also see https://github.com/fish-shell/fish-shell/issues/5865
|
||||
IF(NOT POLICY CMP0067)
|
||||
LIST(APPEND CMAKE_REQUIRED_FLAGS "${CMAKE_CXX${CMAKE_CXX_EXTENSION}_STANDARD_COMPILE_OPTION}")
|
||||
LIST(APPEND CMAKE_REQUIRED_FLAGS "${CMAKE_CXX${CMAKE_CXX_STANDARD}_EXTENSION_COMPILE_OPTION}")
|
||||
ENDIF()
|
||||
|
||||
CHECK_CXX_SOURCE_COMPILES("
|
||||
|
||||
Reference in New Issue
Block a user