diff --git a/CMakeLists.txt b/CMakeLists.txt index 6313af0..836aa7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ endif() #TODO: add requirement for version 1.0.1g (can it be done in one line?) find_package(OpenSSL) -if(OpenSSL_FOUND) +if(OPENSSL_FOUND) include_directories(${OPENSSL_INCLUDE_DIR}) add_executable(https_examples https_examples.cpp)