diff --git a/CMakeLists.txt b/CMakeLists.txt index eb2dffc..d72a9bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,10 @@ set( CMAKE_CXX_STANDARD 11 ) set( CMAKE_CXX_STANDARD_REQUIRED ON ) set( CMAKE_CXX_EXTENSIONS OFF ) +# OpenGL 3.0 deprecates some functions we use. +# Adding this flag makes the compiler not spam warnings. +add_compile_options(-D OPENSSL_API_COMPAT=0x10100000L) + # -------------------------------- # Library # --------------------------------