Skip to content

Commit df769ff

Browse files
committed
fixup! make it c99 compatible
1 parent b409b2a commit df769ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/patchestry/intrinsics/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ target_compile_options(patchestry_intrinsics PRIVATE
2929
-Wextra
3030
-Wno-unused-parameter
3131
-fPIC
32+
$<$<COMPILE_LANGUAGE:C>:-std=c99>
33+
$<$<C_COMPILER_ID:GNU,Clang>:-pedantic>
34+
$<$<C_COMPILER_ID:GNU,Clang>:-Wc99-c11-compat>
3235
)
3336

3437
# Install the library

0 commit comments

Comments
 (0)