This is an automated email from the ASF dual-hosted git repository.

szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit d10bb380408796c75f3af6cceb4bfa161c4ad1de
Author: Ferenc Gerlits <[email protected]>
AuthorDate: Mon Apr 17 15:55:24 2023 +0200

    MINIFICPP-2097 Fix build failure when ENABLE_ALL=ON
    
    If you try to compile with ENABLE_ALL=ON but with neither 
ENABLE_PYTHON_SCRIPTING
    or ENABLE_LUA_SCRIPTING set (so they default to OFF), then the build fails 
with a
    "cannot find -lminifi-script-extension: No such file or directory" linker 
error.
    This change fixes the error.
    
    Closes #1555
    Signed-off-by: Marton Szasz <[email protected]>
---
 extensions/script/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/script/CMakeLists.txt b/extensions/script/CMakeLists.txt
index b14a608a1..19d39d907 100644
--- a/extensions/script/CMakeLists.txt
+++ b/extensions/script/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-if (NOT (ENABLE_LUA_SCRIPTING OR ENABLE_PYTHON_SCRIPTING))
+if (NOT (ENABLE_ALL OR ENABLE_LUA_SCRIPTING OR ENABLE_PYTHON_SCRIPTING))
     return()
 endif()
 

Reply via email to