Skip to content

Commit

Permalink
added missing pybind dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Mar 1, 2024
1 parent 9e114f3 commit 2645aa8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions dependencies/pybind11/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cmake_minimum_required(VERSION 3.21)
project(InstallGoogletest)

include(ExternalProject)

list(APPEND CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
)

message(STATUS "Preparing external project \"pybind11\" with args:")
foreach(CMAKE_ARG ${CMAKE_ARGS})
message(STATUS "-- ${CMAKE_ARG}")
endforeach()

ExternalProject_Add(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.11.1
PREFIX ${CMAKE_BINARY_DIR}/pybind11
CMAKE_ARGS ${CMAKE_ARGS}
)

0 comments on commit 2645aa8

Please sign in to comment.