cmake: add cflags
This commit is contained in:
@@ -224,9 +224,6 @@ if (MINGW)
|
||||
set(CMAKE_CXX_FLAGS "-mno-ms-bitfields -fexec-charset=cp850 ${CMAKE_CXX_FLAGS}")
|
||||
endif (MINGW)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Werror -O3")
|
||||
|
||||
|
||||
if(NOT Qt5_FOUND)
|
||||
message("Qt5 library not found, not building gui")
|
||||
set(TARGET_SOURCES
|
||||
@@ -256,6 +253,8 @@ add_executable(
|
||||
${ADDITIONAL_SRC}
|
||||
)
|
||||
|
||||
target_compile_options(proxmark3 PUBLIC -Wall -Werror -O3)
|
||||
|
||||
target_include_directories(proxmark3 PRIVATE
|
||||
..
|
||||
../common
|
||||
|
||||
Reference in New Issue
Block a user