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

Update CMakeLists.txt #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update CMakeLists.txt #4

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 3, 2014

boost_thread-mt will not be built, so there will be mistake when link the static library. Using boost_thread, it will be ok.

boost_thread-mt will not be built, so there will be mistake when link the static library. Using boost_thread, it will be ok.
@wangkuiyi
Copy link
Owner

I used to write CMakeLists.txt file as you did, but on some systems the boost libraries are multithreading versions and has have suffix "mt". The best solution would be being able to detect boost libraries. However, I have no idea how to do this with CMake. A back-off could be instructing users to build boost by themselves in the README.md file.

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