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

boost unit_test_framework not compiled #13

Open
SrTobi opened this issue Jul 5, 2015 · 0 comments
Open

boost unit_test_framework not compiled #13

SrTobi opened this issue Jul 5, 2015 · 0 comments

Comments

@SrTobi
Copy link

SrTobi commented Jul 5, 2015

There is a compiled boost library called unit_test_framework. The problem is, that it is not handled correctly by bii_find_boost. In order to link against the library the following code should be sufficient:

bii_find_boost(COMPONENTS unit_test_framework REQUIRED)

But using the above code the library wont be compiled. In order to compile the library the following cmake code is necessary:

bii_find_boost(COMPONENTS test REQUIRED)

Using the second one (to build the library) and change the cmake to the first one afterwards (to actually find the library) and run bii configure again, works. Also it seems that there is no example in this repo to test unit_test_framework.

My solution would be to manually transform unit_test_framework to test when it comes to compiling the boost components. Is there another way or is unit_test_framework not supported at all?

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

No branches or pull requests

1 participant