The CMAKE_CXX_STANDARD value passed on command line was ignored
This commit is contained in:
parent
d2af3eaf8d
commit
a1f3a10b09
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard to be used")
|
||||
set(CMAKE_C_STANDARD 99 CACHE STRING "C standard to be used")
|
||||
|
||||
# Export the compile_commands.json file
|
||||
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue