diff options
Diffstat (limited to 'accel-pptpd/CMakeLists.txt')
-rw-r--r-- | accel-pptpd/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pptpd/CMakeLists.txt b/accel-pptpd/CMakeLists.txt index b6b54981..e0a8dd48 100644 --- a/accel-pptpd/CMakeLists.txt +++ b/accel-pptpd/CMakeLists.txt @@ -6,7 +6,8 @@ IF (NOT HAVE_SSL) MESSAGE(FATAL_ERROR "openssl library not found") ENDIF (NOT HAVE_SSL) -CHECK_INCLUDE_FILES("openssl/md5.h" HAVE_SSL) +SET(CMAKE_REQUIRED_INCLUDES "openssl") +CHECK_INCLUDE_FILES("md5.h" HAVE_SSL) IF (NOT HAVE_SSL) MESSAGE(FATAL_ERROR "openssl headers not found") ENDIF (NOT HAVE_SSL) |