Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
fc19c198
Commit
fc19c198
authored
May 29, 2016
by
Boris Schäling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Cygwin support
parent
3f3ea262
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitignore
+1
-1
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