Skip to content

Commit 36652eb

Browse files
committed
fix cmake c-standard perporty
1 parent c50d431 commit 36652eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
cmake_minimum_required(VERSION 3.12)
22
project(python_ctools C)
33

4-
set(CMAKE_C_STANDARD C99)
4+
set(CMAKE_C_STANDARD 99)
5+
set(C_STANDARD_REQUIRED ON)
56

67
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
78

0 commit comments

Comments
 (0)