Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
07e22593
Commit
07e22593
authored
Jan 05, 2020
by
Baljak
Committed by
Wenzel Jakob
Jan 05, 2020
Browse files
Fix compilation with MinGW only (#2053)
parent
370a2ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/FindPythonLibsNew.cmake
tools/FindPythonLibsNew.cmake
+1
-1
No files found.
tools/FindPythonLibsNew.cmake
View file @
07e22593
...
...
@@ -144,7 +144,7 @@ string(REGEX REPLACE "\\\\" "/" PYTHON_PREFIX "${PYTHON_PREFIX}")
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_INCLUDE_DIR
"
${
PYTHON_INCLUDE_DIR
}
"
)
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_SITE_PACKAGES
"
${
PYTHON_SITE_PACKAGES
}
"
)
if
(
CMAKE_HOST_WIN32 AND
NOT
(
MSYS OR MINGW
)
)
if
(
CMAKE_HOST_WIN32 AND NOT
DEFINED ENV{MSYSTEM}
)
set
(
PYTHON_LIBRARY
"
${
PYTHON_PREFIX
}
/libs/Python
${
PYTHON_LIBRARY_SUFFIX
}
.lib"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment