diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b9bf90..1314878 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,8 @@ set(ACCEL_PLATFORM ${DETECTED_ACCEL_PLATFORM} CACHE STRING "Acceleration") configure_file("platform.h.in" "config/platform.h") +add_compile_options(-Wall -Wextra -Werror=return-type) + include_directories("${CMAKE_BINARY_DIR}/config") add_executable(xormod