Skip to content

Commit c491b59

Browse files
authored
Update CMakeLists.txt
1 parent fd018f4 commit c491b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/minicern/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC)
1212
set_property(TARGET minicern PROPERTY POSITION_INDEPENDENT_CODE ON)
1313
target_link_libraries(minicern ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
14-
set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-Wall -fc-prototypes")
14+
set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-Wall -Wextra")
1515
# set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-fsanitize=undefined -fsanitize=address") # TODO enabling this shows issues
1616
# target_link_options(minicern BEFORE PUBLIC -fsanitize=undefined PUBLIC -fsanitize=address) # TODO enabling this shows issues

0 commit comments

Comments
 (0)