-
Notifications
You must be signed in to change notification settings - Fork 146
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
Allow for a different unittest path #21
Comments
Thanks for filing the issue. IIRC using pkgconfig to lookup unittest++ didn't work out so well for me, so is there a particular way you would like to have the include set? Eg: would you want to set an environment variable which overrides the unittest include? |
I have little knowledge of Makefiles and pkgconfig, but a environment variable override sounds fine. |
Same issue on Mac, I hacked the CMakeLists.txt to use my own unittest++ See #1 for more details |
@rombert can you confirm that the move to @Pyrolistical what changes did you make to CMakeLists.txt in order to get things to work on a mac? #1 links to a method for pulling down external source dependencies and building them using cmake - though I've never done this before. This seems like a more general solution. |
@RichardWarburton I've added my hack to |
@RichardWarburton - for some reason this still does not work.
Is there any way I can help debug this? For the record, the headers live in /usr/include/unittest-cpp and the .a file is in /usr/lib64 . |
@rombert have you tried deleting |
@RichardWarburton - thanks, but that still did not help. |
@rombert I've added parameters for this for you. For example on ubuntu you would write the following to manually set UnitTest++:
If nothing appears to be different, try cleaning the cache - |
worked for me, thank you! |
I've had to make the following change to the Makefile on OpenSUSE 13.1 to convince make-test to run:
The text was updated successfully, but these errors were encountered: