Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Don't use ${CMAKE_SOURCE_DIR} in CMakeLists.txt #31

Closed
vvromanov opened this issue Aug 28, 2017 · 2 comments
Closed

Don't use ${CMAKE_SOURCE_DIR} in CMakeLists.txt #31

vvromanov opened this issue Aug 28, 2017 · 2 comments

Comments

@vvromanov
Copy link
Contributor

Details

When libevhtp included in another project using add_subdirectory(libevhtp), CMAKE_SOURCE_DIR points to source directory of main project, not to source directory of libevhtp. To fix this problem replace with CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR

Steps or code to reproduce the problem.

Version

master and last tag

@NathanFrench
Copy link
Collaborator

Thank you - will have it fixed tonight!

@NathanFrench
Copy link
Collaborator

Fixed, thank you!

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

No branches or pull requests

2 participants