From c0676f88458ae4cbb320ab1c2b74b61dc28488ec Mon Sep 17 00:00:00 2001 From: Henri Vasserman Date: Fri, 16 Apr 2021 16:08:36 +0300 Subject: [PATCH] warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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