[CMake] unit-test add utilities to path

This commit is contained in:
Mathis Logemann 2021-10-12 23:00:48 +02:00
parent 6dee79f442
commit 561a79720e

View file

@ -196,7 +196,7 @@ if(WIN32)
) )
else() else()
catch_discover_tests(mapnik-test-unit PROPERTIES catch_discover_tests(mapnik-test-unit PROPERTIES
ENVIRONMENT "DYLD_LIBRARY_PATH=$<SHELL_PATH:$<TARGET_FILE_DIR:shapeindex>;$<TARGET_FILE_DIR:mapnik-index>;$ENV{DYLD_LIBRARY_PATH}>" ENVIRONMENT "PATH=$<SHELL_PATH:$<TARGET_FILE_DIR:shapeindex>;$<TARGET_FILE_DIR:mapnik-index>;$ENV{PATH}>"
) )
endif() endif()