Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
89fa3b86
Commit
89fa3b86
authored
Jan 31, 2019
by
Jan Möbius
Browse files
Link plugins wqith PythonInterface wq against python
parent
1794d85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/plugin.cmake
View file @
89fa3b86
...
...
@@ -672,6 +672,13 @@ function (_build_openflipper_plugin plugin)
acg_set
(
OPENFLIPPER_STATIC_PLUGIN_FILES
"
${
OPENFLIPPER_STATIC_PLUGIN_FILES
}
;
${
PLUGIN_OUTPUT_FILENAME
}
"
)
endif
()
# Link plugin against python if possible
if
(
${
_PLUGIN
}
_PYTHONINTERFACE AND NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM
)
if
(
PYTHON3_FOUND
)
target_link_libraries
(
Plugin-
${
plugin
}
Python3::Python
)
endif
()
endif
()
# append compiler and linker flags from plugin dependencies
list
(
APPEND
${
_PLUGIN
}
_DEPS_COMPILE_DEFINITIONS
${${
_PLUGIN
}
_CDEFINITIONSADD
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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