kirbyzhou opened a new issue, #1059:
URL: https://github.com/apache/incubator-pegasus/issues/1059
When MACOS_OPENSSL_ROOT_DIR is not defined, it gives Inexplicable error
messageļ¼
```
CMake Error at CMakeLists.txt:31 (if):
if given arguments:
"STREQUAL" ""
Unknown arguments specified
```
Simple FIx:
```
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index 1d153f82f..618305fe2 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -28,7 +28,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
endif ()
if (APPLE)
- if (${MACOS_OPENSSL_ROOT_DIR} STREQUAL "")
+ if ("${MACOS_OPENSSL_ROOT_DIR}" STREQUAL "")
message(FATAL_ERROR "OpenSSL root should be set for MacOS")
endif()
endif()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]