envire / envire-envire_core

Core part for the Environment Representation library
BSD 2-Clause "Simplified" License
7 stars 13 forks source link

[fix_build_tests] Fix tests linkage #54

Closed Rauldg closed 4 years ago

Rauldg commented 4 years ago

Uses the cmake variable class_loader_PKGCONFIG_LIBRARIES instead of CLS_LOADER_LIBRARIES for linking test_plugins.

Without this change the tests can not be built.

I have no idea why the previous variable is not anymore set as expected.

To test, I added these two lines to the main CMakeLists.txt:

set(ROCK_TEST_ENABLED ON)
set(ENABLE_PLUGINS ON)

Running the test_suite passes, but the test_plugin don't.