소스 검색

rename cmake compile flag to CIVETWEB_SSL_OPENSSL_API_1_1

This name seems more concistent with other flags
kakwa 8 년 전
부모
커밋
4b67b3d807
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -399,7 +399,7 @@ else()
     add_definitions(-DCRYPTO_LIB="${CIVETWEB_SSL_CRYPTO_LIB}")
     add_definitions(-DCRYPTO_LIB="${CIVETWEB_SSL_CRYPTO_LIB}")
   endif()
   endif()
 endif()
 endif()
-if(OPENSSL_API_1_1)
+if(CIVETWEB_SSL_OPENSSL_API_1_1)
   add_definitions(-DOPENSSL_API_1_1)
   add_definitions(-DOPENSSL_API_1_1)
 endif()
 endif()
 add_definitions(-DUSE_STACK_SIZE=${CIVETWEB_THREAD_STACK_SIZE})
 add_definitions(-DUSE_STACK_SIZE=${CIVETWEB_THREAD_STACK_SIZE})