Skip to content
Snippets Groups Projects

fix pythonpath by using generator expression

Merged Matthias Möller requested to merge fix-pythonpath into master

With multi-configuration/crossplatform toolchains, the output path of a target varies from the selected configuration (most famous: Debug/Release on MSVC/xcode). Therefore, the module's output path is not the bin dir, but mostly in something like ${CMAKE_CURRENT_BINARY_DIR}/Debug or ${CMAKE_CURRENT_BINARY_DIR}/Release.

This MR fixes the path, so that pythonpath is always set to the correct path where the module was built into.

Merge request reports

Pipeline #6934 passed

Pipeline passed for 7e1b00a8 on fix-pythonpath

Approval is optional

Merged by Isaak LimIsaak Lim 7 years ago (May 8, 2018 3:51pm UTC)

Merge details

  • Changes merged into master with 97f1a618.
  • Deleted the source branch.

Pipeline #6937 passed

Pipeline passed for 97f1a618 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading