4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 02:27:36 -04:00

Fix __exit__ binding to wrong method, and enable the GCC warnings that

could catch this kind of thing (unused static function).
This commit is contained in:
2017-12-05 13:18:41 -08:00
parent 740da9c92b
commit cca1a90d1c
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,10 @@ find_package(OpenGL REQUIRED)
find_package(string_theory REQUIRED)
find_package(Vorbis REQUIRED)
if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang")
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter ${CMAKE_CXX_FLAGS}")
endif()
# Da files
set(korlib_HEADERS
buffer.h