From f6b1455655c4c1da8aa189107071b7bd83dd950f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 13 Aug 2024 16:29:42 -0400 Subject: [PATCH] Apply suggestions from code review --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd47c618c8..42e57c7383 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,7 +181,8 @@ if(PYBIND11_MASTER_PROJECT) endif() endif() -list(TRANSFORM PYBIND11_HEADERS PREPEND "include/") +list(TRANSFORM PYBIND11_HEADERS PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/") +FetchContent_MakeAvailable ``` # Cache variable so this can be used in parent projects set(pybind11_INCLUDE_DIR