CMake: Don't compile PRC's encryptStream unless we have OpenSSL.

This commit is contained in:
Donny Lawrence 2019-06-04 14:27:33 -05:00 committed by Sam Edwards
parent 24ba0d0e72
commit aed55d4e7e

View File

@ -53,7 +53,6 @@ set(P3PRC_SOURCES
configVariableManager.cxx
configVariableSearchPath.cxx
configVariableString.cxx
encryptStreamBuf.cxx encryptStream.cxx
nativeNumericData.cxx
notify.cxx
notifyCategory.cxx
@ -70,6 +69,10 @@ if(ANDROID)
androidLogStream.cxx)
endif()
if(HAVE_OPENSSL)
list(APPEND P3PRC_SOURCES encryptStreamBuf.cxx encryptStream.cxx)
endif()
set(P3PRC_IGATEEXT
streamReader_ext.cxx
streamReader_ext.h