-
Notifications
You must be signed in to change notification settings - Fork 288
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
Linking against ${DART_LIBRARIES} not working in Ubuntu 14.04 #629
Comments
👍 👍 👍 I've also ran into a lot of difficult-to-reproduce problems with It's important to remember that CMake has two different ways of
DART currently mixes the two. It generates a TL;DR: Fixing this should be as simple removing the Edit: We also should not add |
…generated targets list rather than find_library.
Linking executable "test" against DART using the find_package supplied variable doesn't seem to be working for me:
target_link_libraries(test ${DART_LIBRARIES})
However, linking to "dart" works fine:
target_link_libraries(test dart)
Running the build system with
make VERBOSE=1
gives the following output using${DART_LIBRARIES}
:but returns the following when using
dart
:So it would appear that the dependencies of
libdart.so
are not getting pulled in correctly in the first method. I've attached a minimum (non)working example:CMakeLists.txt
test.txt
(Apologies for the .txt extension for the .cpp file, GitHub doesn't support uploading .cpp's)
The text was updated successfully, but these errors were encountered: