Skip to content

Commit 02ebc76

Browse files
committed
fix(cmake): wrong name of option
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 8322513 commit 02ebc76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
6565

6666
message(STATUS "CMake ${CMAKE_VERSION}")
6767

68-
if(DEFINED SKBUILD AND DEFINED ENV{PYBIND11_GLOBAL_PREFIX})
68+
if(DEFINED SKBUILD AND DEFINED ENV{PYBIND11_GLOBAL_SDIST})
6969
message(
7070
FATAL_ERROR
71-
"PYBIND11_GLOBAL_PREFIX is not supported, use nox -s build_global or a pybind11-global SDist instead."
71+
"PYBIND11_GLOBAL_SDIST is not supported, use nox -s build_global or a pybind11-global SDist instead."
7272
)
7373
endif()
7474

0 commit comments

Comments
 (0)