Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Jørgen Lien Sellæg
python-meetup-python-modules-modern-cpp
Commits
6cf2c517
Commit
6cf2c517
authored
Apr 26, 2019
by
Jørgen Lien Sellæg
Browse files
use correct path for embedded example
parent
c2f7d3ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pybind/embedded_example/CMakeLists.txt
pybind/embedded_example/CMakeLists.txt
+1
-1
No files found.
pybind/embedded_example/CMakeLists.txt
View file @
6cf2c517
add_definitions
(
-DPYTHON_PATH=
"
${
PROJECT_SOURCE_DIR
}
/embedded_example"
)
add_definitions
(
-DPYTHON_PATH=
"
${
PROJECT_SOURCE_DIR
}
/
pybind/
embedded_example"
)
find_package
(
Threads
)
add_executable
(
embedded_example main.cpp
)
target_link_libraries
(
embedded_example PRIVATE pybind11::embed
${
CMAKE_THREAD_LIBS_INIT
}
)
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