Currently, tests fail (in shared mode) because dynamic linker tries to load libzint.so.2.12
and libQZint.so.2.12
which are not available unless the program had been installed. Even worse, this way, one would probably be wrongly testing the previous version, not the current one. Anyway, the tests should not require installation. Consider modifying zint_add_test
macro in the following way:
set_tests_properties(${test_name} PROPERTIES ENVIRONMENT
"LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/backend")
This is for libzint.so.2.12
, libQZint.so.2.12
gets installed under backend_qt
subdirectory, but I'm sure you'd figure the right magic out. :-)
Hi Alexey, thanks for pointing this out. Yes, will implement the solution you suggest (perhaps using
PATH
for Windows/MSVC), will report back...Hi, implemented your suggestion with commit [5669ad], thanks.
Related
Commit: [5669ad]