Actually add crypto includes to the target

This commit is contained in:
Learath 2019-04-11 22:00:33 +02:00
parent cde3781184
commit b342048dad

View file

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