Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
877 B
Diff
28 lines
877 B
Diff
diff --git a/nocturne/cpp/CMakeLists.txt b/nocturne/cpp/CMakeLists.txt
|
|
index c67815f..e1f825b 100644
|
|
--- a/nocturne/cpp/CMakeLists.txt
|
|
+++ b/nocturne/cpp/CMakeLists.txt
|
|
@@ -62,8 +62,7 @@ include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
googletest
|
|
- GIT_REPOSITORY https://github.com/google/googletest.git
|
|
- GIT_TAG main
|
|
+ SOURCE_DIR @gtest_src@
|
|
)
|
|
|
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
|
diff --git a/setup.py b/setup.py
|
|
index 4863ae6..b5d3545 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -92,6 +92,8 @@ def main():
|
|
# with open("./requirements.txt", "r") as f:
|
|
# requires = f.read().splitlines()
|
|
setup(
|
|
+ # Adding `packages=` is necessary to get `python setup.py install` to work
|
|
+ packages=["nocturne", "cfgs"],
|
|
ext_modules=[CMakeExtension("nocturne", "./nocturne")],
|
|
cmdclass=dict(build_ext=CMakeBuild),
|
|
)
|