Skip to content

Change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH - #133

Merged
fukuchi merged 1 commit into
fukuchi:masterfrom
sdf5:Fix_CMAKE_MODULE_PATH
Jul 27, 2018
Merged

fukuchi merged 1 commit into
fukuchi:masterfrom
sdf5:Fix_CMAKE_MODULE_PATH

Conversation

@sdf5

@sdf5 sdf5 commented Jul 27, 2018

Copy link
Copy Markdown

When I use your project as a subdirectory, CMAKE_SOURCE_DIR is a path to my project and not yours.
CMAKE_CURRENT_SOURCE_DIR is the path of your project.

@fukuchi
fukuchi merged commit 4394963 into fukuchi:master Jul 27, 2018
@fukuchi

fukuchi commented Jul 27, 2018

Copy link
Copy Markdown
Owner

Thank you @sdf5 for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants