cmake: fix misleading indentation

This commit is contained in:
Florian Lüke 2024-12-27 20:15:23 +01:00
parent 2ce5bdc0bc
commit 06da32c728

View file

@ -35,9 +35,9 @@ if (MNODE_BUILD_TESTS)
endif()
include(FetchContent)
FetchContent_Declare(pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11 GIT_TAG v2.13.6)
FetchContent_GetProperties(pybind11)
if(NOT pybind11_POPULATED)
FetchContent_Declare(pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11 GIT_TAG v2.13.6)
FetchContent_GetProperties(pybind11)
if(NOT pybind11_POPULATED)
FetchContent_Populate(pybind11)
add_subdirectory(${pybind11_SOURCE_DIR} ${pybind11_BINARY_DIR})
endif()