From d254403ae15b572735ab7fa00780d689d028353f Mon Sep 17 00:00:00 2001 From: onelin Date: Sun, 16 Mar 2025 11:16:16 +0100 Subject: Enable some compilation flags --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 92f16aa..0f4bd69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,14 +64,12 @@ endif() set(DEFAULT_ARGS -m64 # Target 64-bit architechture -Wall -Wextra # All the good default warnings - -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wwrite-strings - -Wswitch-default -Wconversion ) @@ -127,8 +125,8 @@ FetchContent_MakeAvailable(cglm stb) set(GLAD_HEADER ${CMAKE_BINARY_DIR}/include/glad/gl.h) ## Compilation information -add_compile_options(${RELEASE_OPTS} ${BUILD_OPTS}) -add_link_options(${RELEASE_OPTS} ${BUILD_OPTS}) +add_compile_options(${RELEASE_OPTS}) +add_link_options(${RELEASE_OPTS}) # The main engine compilation target is defined here add_subdirectory(src) -- cgit v1.3