mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 14:15:11 +00:00
fix: emscripten cmake issue (#5301)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
parent
07f30430d4
commit
835139f5db
@ -83,7 +83,7 @@ if(CMAKE_SYSTEM_NAME MATCHES Emscripten AND NOT _pybind11_no_exceptions)
|
|||||||
if(CMAKE_VERSION VERSION_LESS 3.13)
|
if(CMAKE_VERSION VERSION_LESS 3.13)
|
||||||
message(WARNING "CMake 3.13+ is required to build for Emscripten. Some flags will be missing")
|
message(WARNING "CMake 3.13+ is required to build for Emscripten. Some flags will be missing")
|
||||||
else()
|
else()
|
||||||
if(_is_config)
|
if(is_config)
|
||||||
set(_tmp_config_target pybind11::pybind11_headers)
|
set(_tmp_config_target pybind11::pybind11_headers)
|
||||||
else()
|
else()
|
||||||
set(_tmp_config_target pybind11_headers)
|
set(_tmp_config_target pybind11_headers)
|
||||||
|
Loading…
Reference in New Issue
Block a user