mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:29:16 +08:00
cmake: use correct variable for C++ compiler flags
Broken in 8ca936aea6
This commit is contained in:
parent
89880891d0
commit
5df84c1998
|
@ -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("
|
||||
|
|
Loading…
Reference in New Issue
Block a user