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
2160860c
Commit
2160860c
authored
Aug 02, 2016
by
Wenzel Jakob
Browse files
minor cmake change as per #306
parent
3da5edec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
2160860c
...
@@ -57,7 +57,7 @@ function(pybind11_add_module target_name)
...
@@ -57,7 +57,7 @@ function(pybind11_add_module target_name)
add_library
(
${
target_name
}
MODULE
${
ARGN
}
)
add_library
(
${
target_name
}
MODULE
${
ARGN
}
)
target_include_directories
(
${
target_name
}
target_include_directories
(
${
target_name
}
PRIVATE
${
PYBIND11_INCLUDE_DIR
}
PRIVATE
${
PYBIND11_INCLUDE_DIR
}
P
UBLIC
${
PYTHON_INCLUDE_DIRS
}
)
P
RIVATE
${
PYTHON_INCLUDE_DIRS
}
)
# The prefix and extension are provided by FindPythonLibsNew.cmake
# The prefix and extension are provided by FindPythonLibsNew.cmake
set_target_properties
(
${
target_name
}
PROPERTIES PREFIX
"
${
PYTHON_MODULE_PREFIX
}
"
)
set_target_properties
(
${
target_name
}
PROPERTIES PREFIX
"
${
PYTHON_MODULE_PREFIX
}
"
)
...
...
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