Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8c419746
Commit
8c419746
authored
Aug 28, 2016
by
Wenzel Jakob
Committed by
GitHub
Aug 28, 2016
Browse files
Merge pull request #367 from dean0x7d/debug_ext_name
Fix module file name when working with debug builds of Python
parents
5e4e477b
7b4f8dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
tools/FindPythonLibsNew.cmake
tools/FindPythonLibsNew.cmake
+0
-5
No files found.
tools/FindPythonLibsNew.cmake
View file @
8c419746
...
@@ -134,11 +134,6 @@ string(REGEX REPLACE "\\\\" "/" PYTHON_PREFIX ${PYTHON_PREFIX})
...
@@ -134,11 +134,6 @@ string(REGEX REPLACE "\\\\" "/" PYTHON_PREFIX ${PYTHON_PREFIX})
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_INCLUDE_DIR
${
PYTHON_INCLUDE_DIR
}
)
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_INCLUDE_DIR
${
PYTHON_INCLUDE_DIR
}
)
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_SITE_PACKAGES
${
PYTHON_SITE_PACKAGES
}
)
string
(
REGEX REPLACE
"
\\\\
"
"/"
PYTHON_SITE_PACKAGES
${
PYTHON_SITE_PACKAGES
}
)
# TODO: All the nuances of CPython debug builds have not been dealt with/tested.
if
(
PYTHON_IS_DEBUG
)
set
(
PYTHON_MODULE_EXTENSION
"_d
${
PYTHON_MODULE_EXTENSION
}
"
)
endif
()
if
(
CMAKE_HOST_WIN32
)
if
(
CMAKE_HOST_WIN32
)
set
(
PYTHON_LIBRARY
set
(
PYTHON_LIBRARY
"
${
PYTHON_PREFIX
}
/libs/Python
${
PYTHON_LIBRARY_SUFFIX
}
.lib"
)
"
${
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