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:
parent
569c1989a4
commit
a41b79967a
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
# --------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue