Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ max_line_length = 80
[{BUILD,*.BUILD,*.bzl,*.bazel,.bazelrc}]
indent_size = 4

[{CMakeLists.txt,*.cmake}]
indent_size = 4

[{*.cc,*.h}]
indent_size = 2

Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
project(qsim)

set(CMAKE_CXX_STANDARD 11)
cmake_minimum_required(VERSION 3.31)

Expand Down
3 changes: 1 addition & 2 deletions pybind_interface/GetPybind11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ if (pybind11_FOUND)
endif()

if((NOT pybind11_FOUND) AND (NOT pybind11_POPULATED)) # check first on system path, then attempt git fetch
FetchContent_Populate(pybind11)
add_subdirectory(${pybind11_SOURCE_DIR} ${pybind11_BINARY_DIR})
FetchContent_MakeAvailable(pybind11)
endif()
Loading