Skip to content

Commit 835139f

Browse files
committed
fix: emscripten cmake issue (#5301)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 07f3043 commit 835139f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pybind11Common.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if(CMAKE_SYSTEM_NAME MATCHES Emscripten AND NOT _pybind11_no_exceptions)
8383
if(CMAKE_VERSION VERSION_LESS 3.13)
8484
message(WARNING "CMake 3.13+ is required to build for Emscripten. Some flags will be missing")
8585
else()
86-
if(_is_config)
86+
if(is_config)
8787
set(_tmp_config_target pybind11::pybind11_headers)
8888
else()
8989
set(_tmp_config_target pybind11_headers)

0 commit comments

Comments
 (0)