Fix test registration on macOS

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
Jeroen Koekkoek 2018-11-01 19:48:12 +01:00
parent 630178fb12
commit ecaf72c003

View file

@ -269,7 +269,7 @@ function(add_cunit_executable TARGET)
if(APPLE)
set_property(
TEST ${ctest}
PROPERTIES ENVIRONMENT
PROPERTY ENVIRONMENT
"DYLD_LIBRARY_PATH=${CUNIT_LIBRARY_DIR}:$ENV{DYLD_LIBRARY_PATH}")
elseif(WIN32 AND ${CUNIT_LIBRARY_TYPE} STREQUAL "SHARED_LIBRARY")
set_property(