Skip to content

Commit

Permalink
fix: Build runner test only when VELOX_BUILD_TESTING enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zuyu committed Nov 26, 2024
1 parent 4e3311a commit c75778b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions velox/runner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

add_subdirectory(tests)
if(${VELOX_BUILD_TESTING})
add_subdirectory(tests)
endif()

velox_add_library(velox_local_runner LocalRunner.cpp LocalSchema.cpp Runner.cpp)

Expand Down

0 comments on commit c75778b

Please sign in to comment.