1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 11:44:55 +02:00

CMakeLists.txt: Adding OPENSSL_API_COMPAT compiler flag.

This commit is contained in:
Henrik Hautakoski 2022-09-21 10:36:24 +02:00
parent 569c1989a4
commit a41b79967a

View file

@ -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
# --------------------------------