Skip to content

Commit

Permalink
Bring variable further up
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Oct 10, 2024
1 parent c3e3fa1 commit 53d308a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (EXTERNAL_HIGHFIVE)
find_package(HighFive REQUIRED)
endif()

set(PYBIND11_NEWPYTHON ON)

if (EXTERNAL_PYBIND11)
find_package(pybind11 REQUIRED CONFIG)
endif()
Expand Down
3 changes: 0 additions & 3 deletions binds/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

set(PYBIND11_NEWPYTHON ON)

if (NOT EXTERNAL_PYBIND11)
add_subdirectory(pybind11 EXCLUDE_FROM_ALL)
endif()
Expand Down

0 comments on commit 53d308a

Please sign in to comment.