From 2c30e0a11867f09ff21292f435fd99e3ab973de9 Mon Sep 17 00:00:00 2001 From: Eric Cousineau Date: Sun, 31 May 2020 01:00:55 -0400 Subject: [PATCH] cmake: Expose `PYBIND11_TEST_OVERRIDE` (#2218) Primarily for the ccmake curses GUI --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 765c47ad..58993d15 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,6 +8,7 @@ cmake_minimum_required(VERSION 2.8.12) option(PYBIND11_WERROR "Report all warnings as errors" OFF) +set(PYBIND11_TEST_OVERRIDE "" CACHE STRING "Tests from ;-separated list of *.cpp files will be built instead of all tests") if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) # We're being loaded directly, i.e. not via add_subdirectory, so make this