Adding scripts
This commit is contained in:
1 parent
995e2c8e5b
commit
63c9d7b35b
9 files changed
+432480
-9
No files matched your search
@@ -546,4 +546,15 @@ if(NOT TARGET boost_external_lib)
|
||||
add_library(boost_external_lib INTERFACE)
|
||||
# Boost заголовки находятся непосредственно в корне распакованной папки
|
||||
target_include_directories(boost_external_lib INTERFACE "${BOOST_SRC_DIR}")
|
||||
endif()
|
||||
|
||||
# ===========================================
|
||||
# 9) pybind11 (3.0.3) - Python embedding
|
||||
# ===========================================
|
||||
set(PYBIND11_SRC_DIR "${THIRDPARTY_DIR}/pybind11-3.0.3")
|
||||
|
||||
if(NOT TARGET pybind11::headers)
|
||||
# pybind11 is header-only; add_subdirectory gives us pybind11::embed which
|
||||
# also locates and links the Python interpreter and development libraries.
|
||||
add_subdirectory("${PYBIND11_SRC_DIR}" "${CMAKE_BINARY_DIR}/pybind11_build" EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
Reference in new issue
Block a user