Skip to content

Commit b4d03e7

Browse files
cmake: Expose PYBIND11_TEST_OVERRIDE
Primarily for the ccmake curses GUI
1 parent a54eab9 commit b4d03e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
cmake_minimum_required(VERSION 2.8.12)
99

1010
option(PYBIND11_WERROR "Report all warnings as errors" OFF)
11+
set(PYBIND11_TEST_OVERRIDE "" CACHE STRING "Override unittests. Please specify using *.cpp files")
1112

1213
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
1314
# We're being loaded directly, i.e. not via add_subdirectory, so make this

0 commit comments

Comments
 (0)