mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
Add -Wall to CMake
This commit is contained in:
parent
f586ab2d4e
commit
f0b905c779
@ -28,6 +28,11 @@ if(WIN32)
|
|||||||
set(RADARE2_INCLUDE_DIRS "${IAITO_WIN32_DIR}/radare2/include/libr" "${IAITO_WIN32_DIR}/include")
|
set(RADARE2_INCLUDE_DIRS "${IAITO_WIN32_DIR}/radare2/include/libr" "${IAITO_WIN32_DIR}/include")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
|
OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
|
add_definitions(-Wall)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
find_package(Radare2 REQUIRED)
|
find_package(Radare2 REQUIRED)
|
||||||
include_directories(${RADARE2_INCLUDE_DIRS})
|
include_directories(${RADARE2_INCLUDE_DIRS})
|
||||||
|
Loading…
Reference in New Issue
Block a user