Skip to content

Commit a56379e

Browse files
committed
Fix #151: Compile error in SDL2Parser.cpp (still)
Compiler flags are specified via COMPILE_FLAGS and not via COMPILE_OPTIONS.
1 parent 46bdbd9 commit a56379e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boomerang/ssl/parser/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (CMAKE_COMPILER_IS_GNUCXX AND BISON_VERSION VERSION_LESS 3.0.5)
5353
# Grammars generated by Bison 3.0.4 and below emit a null pointer dereference warning
5454
# when compiled with GCC 7
5555
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/SSL2Parser.cpp
56-
PROPERTIES COMPILE_OPTIONS -Wno-error=null-dereference)
56+
PROPERTIES COMPILE_FLAGS -Wno-error=null-dereference)
5757
endif ()
5858

5959
target_link_libraries(boomerang-ssl2-parser Qt5::Core)

0 commit comments

Comments
 (0)