Skip to content

Commit ab97f77

Browse files
authored
Merge pull request #694 from sanpeqf/build-fixup
build fixup: fixed cmake werror condition typo
2 parents d220d08 + aaf75d0 commit ab97f77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set(CMAKE_C_FLAGS
1818
-fvisibility=hidden "
1919
)
2020

21-
if(CMAKE_C_FLAGS)
21+
if(BFDEV_STRICT)
2222
set(CMAKE_C_FLAGS
2323
"${CMAKE_C_FLAGS} \
2424
-Werror"

0 commit comments

Comments
 (0)