lordgamez commented on a change in pull request #1124:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1124#discussion_r664301389



##########
File path: CMakeLists.txt
##########
@@ -589,12 +592,12 @@ if (NOT DISABLE_CURL AND NOT DISABLE_CONTROLLER)
 endif()
 
 
-if (NOT DISABLE_CURL)
-  if (ENABLE_PYTHON)
-       if (NOT WIN32)
-               add_subdirectory(python/library)
-       endif()
-  endif(ENABLE_PYTHON)
+if (NOT DISABLE_CURL AND ENABLE_PYTHON AND NOT WIN32)
+  if (ENABLE_NANOFI)
+               add_subdirectory(python/library)
+       else()
+               message(FATAL_ERROR "Nanofi, a dependency of the python 
extension is disabled, therefore Python extension cannot be enabled.")
+       endif()

Review comment:
       Fixed in 2847fc59b50d13188dd9aa9ddf1c1fd5aad4905f




-- 
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]


Reply via email to