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
fc19c198
Commit
fc19c198
authored
May 29, 2016
by
Boris Schäling
Browse files
Fix Cygwin support
parent
3f3ea262
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 @
fc19c198
...
...
@@ -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 @
fc19c198
...
...
@@ -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