Skip to content

Commit 3a3b9b4

Browse files
committed
Remove extra line from windows patch.
1 parent f5c3c6d commit 3a3b9b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

recipe/patches/0000_win_fix_paths.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/setup.py b/setup.py
2-
index 96563c1a..66312029 100644
2+
index 96563c1a..80e6ae5d 100644
33
--- a/setup.py
44
+++ b/setup.py
5-
@@ -122,10 +122,15 @@ def remove_output(*sources: str) -> Generator[None, None, None]:
5+
@@ -122,10 +122,14 @@ def remove_output(*sources: str) -> Generator[None, None, None]:
66
with remove_output("pybind11/include", "pybind11/share"):
77
# Generate the files if they are not present.
88
with TemporaryDirectory() as tmpdir:
@@ -14,7 +14,6 @@ index 96563c1a..66312029 100644
1414
+ '-DPYTHON_EXECUTABLE:FILEPATH='+os.environ.get("PYTHON",""),
1515
+ '-DPYTHON_LIBRARY:FILEPATH='+os.environ.get("PYTHON_LIBRARY",""),
1616
+ '-DPYTHON_INCLUDE_DIR:PATH='+os.environ.get("PREFIX","")+ '\include',
17-
+ # '-DCMAKE_INSTALL_PREFIX='+os.environ.get("LIBRARY_PREFIX",""),
1817
+ '-DCMAKE_PREFIX_PATH='+os.environ.get("LIBRARY_PREFIX",""),
1918
"-Dprefix_for_pc_file=${pcfiledir}/../../",
2019
]

0 commit comments

Comments
 (0)