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
dca6b04c
Commit
dca6b04c
authored
May 29, 2016
by
Wenzel Jakob
Browse files
Merge pull request #217 from BorisSchaeling/cygwin
Fix Cygwin support
parents
0a07805a
fc19c198
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitignore
.gitignore
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
.gitignore
View file @
dca6b04c
...
...
@@ -5,7 +5,7 @@ cmake_install.cmake
.DS_Store
/example/example.so
/example/example.pyd
/example/example.dll
/example/example
*
.dll
*.sln
*.sdf
*.opensdf
...
...
CMakeLists.txt
View file @
dca6b04c
...
...
@@ -61,7 +61,7 @@ function(pybind11_add_module target_name)
set_target_properties
(
${
target_name
}
PROPERTIES PREFIX
"
${
PYTHON_MODULE_PREFIX
}
"
)
set_target_properties
(
${
target_name
}
PROPERTIES SUFFIX
"
${
PYTHON_MODULE_EXTENSION
}
"
)
if
(
WIN32
)
if
(
WIN32
OR CYGWIN
)
# Link against the Python shared library on Windows
target_link_libraries
(
${
target_name
}
PRIVATE
${
PYTHON_LIBRARIES
}
)
elseif
(
APPLE
)
...
...
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