Skip to content

Commit

Permalink
πŸ‘·β€β™€οΈ Used wrong C Standard guard variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Nov 14, 2021
1 parent aef2ef7 commit d507d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if (ZTD_TEXT_IS_TOP_LEVEL_PROJECT)
set(CMAKE_CXX_STANDARD 17)
endif()

if (NOT DEFINED CMAKE_CXX_STANDARD)
if (NOT DEFINED CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 11)
endif()

Expand Down

0 comments on commit d507d77

Please sign in to comment.