mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #1626
1626: Actually add crypto includes to the target r=def- a=Learath2 Seems like an oversight. I'm guessing it compiled fine on most configurations because openssl include directory ends up being in `/usr/include` but on macOS when installed with brew/macports the directory ends up in `/usr/local/include`. Co-authored-by: Learath <learath2@gmail.com>
This commit is contained in:
commit
32551d2485
|
@ -1612,6 +1612,7 @@ foreach(target ${TARGETS_OWN})
|
|||
target_compile_definitions(${target} PRIVATE GLEW_STATIC)
|
||||
if(CRYPTO_FOUND)
|
||||
target_compile_definitions(${target} PRIVATE CONF_OPENSSL)
|
||||
target_include_directories(${target} PRIVATE ${CRYPTO_INCLUDE_DIRS})
|
||||
endif()
|
||||
if(WEBSOCKETS)
|
||||
target_compile_definitions(${target} PRIVATE CONF_WEBSOCKETS)
|
||||
|
|
Loading…
Reference in a new issue