Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move cmake finder config files to root dir #772

Merged
merged 2 commits into from Oct 8, 2015
Merged

Conversation

veronicaz41
Copy link
Contributor

Fixes #525

  • only tested on Mac OSX, need to test on other platforms

@codemercenary
Copy link
Contributor

I'll test on Windows.

@codemercenary
Copy link
Contributor

Don't forget your labels.

@@ -182,7 +182,7 @@ if(NOT AUTOWIRING_IS_EMBEDDED)
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/autowiring-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/autowiring-configVersion.cmake"
DESTINATION "cmake"
DESTINATION ${CMAKE_INSTALL_PREFIX}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would DESTINATION "." be the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. ${CMAKE_INSTALL_PREFIX} is absolute path (default to /usr/local). "." is relative path, the config files will be installed to ${CMAKE_INSTALL_PREFIX}/./leapserial-config.cmake and ${CMAKE_INSTALL_PREFIX}/./leapserial-configVersion.cmake.

codemercenary added a commit that referenced this pull request Oct 8, 2015
move cmake finder config files to root dir
@codemercenary codemercenary merged commit b5b644d into develop Oct 8, 2015
@codemercenary codemercenary deleted the fix_build branch October 8, 2015 09:52
@jdonald
Copy link
Contributor

jdonald commented Oct 8, 2015

+1

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

Successfully merging this pull request may close these issues.

None yet

3 participants