From b342048dadc85052e48e647d0d4428ef7ad70bbb Mon Sep 17 00:00:00 2001 From: Learath Date: Thu, 11 Apr 2019 22:00:33 +0200 Subject: [PATCH] Actually add crypto includes to the target --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c0985e6e..4282fae9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)