From d49b66218f551d91272e30b6300ad136ce8fe003 Mon Sep 17 00:00:00 2001 From: sdixon Date: Mon, 5 Aug 2024 13:01:59 +0100 Subject: [PATCH] removing cli build from msvc python wheel CI --- .github/workflows/build_wheels.yml | 1 + source/bin/CMakeLists.txt | 1 + source/wrappers/CMakeLists.txt | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ede027d0..61cefccc 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -94,6 +94,7 @@ jobs: -DNO_JAVA_WRAPPER=ON -DNO_CXX_WRAPPER=ON -DNO_IDL_WRAPPER=ON + -DNO_CLI=ON -DNO_MEMCACHE=ON -DCMAKE_INSTALL_PREFIX=install && cmake --build build -j --config Release diff --git a/source/bin/CMakeLists.txt b/source/bin/CMakeLists.txt index b462ab88..8267775f 100644 --- a/source/bin/CMakeLists.txt +++ b/source/bin/CMakeLists.txt @@ -1,4 +1,5 @@ if( "${NO_CLI}" ) + message( WARNING "Not building uda CLI due to option NO_CLI" ) return() endif() diff --git a/source/wrappers/CMakeLists.txt b/source/wrappers/CMakeLists.txt index bd5f36db..6d966d0a 100755 --- a/source/wrappers/CMakeLists.txt +++ b/source/wrappers/CMakeLists.txt @@ -1,9 +1,6 @@ ######################################################################################################################## # Dependencies -find_package( IDL ) -find_package( Java 1.6 ) -find_package( JNI ) find_package( Boost ) if( NOT NO_CXX_WRAPPER ) @@ -23,6 +20,7 @@ else() endif() if( NOT NO_IDL_WRAPPER ) + find_package( IDL ) if( IDL_FOUND ) remove_definitions( -Wall -Werror ) add_subdirectory( idl ) @@ -35,6 +33,8 @@ else() endif() if( NOT NO_JAVA_WRAPPER ) + find_package( Java 1.6 ) + find_package( JNI ) if( JAVA_FOUND AND JNI_FOUND ) add_subdirectory( java ) else()