Skip to content

Commit 165f6fb

Browse files
committed
CMakeBuild doesnt do anything if no extension(s)
1 parent a933035 commit 165f6fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeBuild.py

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def finalize_options(self):
4747
self.sundials_root = os.path.join(default_lib_dir)
4848

4949
def run(self):
50+
if not self.extensions:
51+
return
52+
5053
cmake_args = ["-DPYTHON_EXECUTABLE={}".format(sys.executable)]
5154
if self.suitesparse_root:
5255
cmake_args.append(

0 commit comments

Comments
 (0)