Commit a35ac900 authored by Michiel Verloop's avatar Michiel Verloop
Browse files

Fix runtime unit-tests.

parent 9da96e66
......@@ -90,7 +90,7 @@ MACRO (ADD_RUNTIME_FUNC_TEST BIN_NAME SRC_NAME LIB_TARGET EXTRA_LINKS)
ENDFOREACH ()
# Link against Gtest and SaC runtime library (we need to link manually as the ExternalProject does not encode this information)
# we also link a dummy library to define functions which are expected (normally generated by sac2c)
TARGET_LINK_LIBRARIES (${BIN_NAME} GTest::GTest GTest::Main "${__libpath}" runtimedummy ${__extra_links})
TARGET_LINK_LIBRARIES (${BIN_NAME} GTest::GTest GTest::Main sac2cShared "${__libpath}" runtimedummy ${__extra_links})
# Make sure we compile with at least C++11
SET_TARGET_PROPERTIES (${BIN_NAME}
PROPERTIES
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment