DELBERGUE Guillaume

Improve test link using CMake vars

pthread unneeded

Signed-off-by: Guillaume Delbergue <guillaume.delbergue@greensocs.com>
... ... @@ -41,5 +41,5 @@
ADD_EXECUTABLE(PL190_testbench
PL190_testbench.cpp
)
TARGET_LINK_LIBRARIES(PL190_testbench pl190 systemc greenreg pthread)
TARGET_LINK_LIBRARIES(PL190_testbench pl190 ${SystemC_LIBRARIES} ${GREENLIB_LIBRARIES})
ADD_TEST(NAME PL190 COMMAND ./PL190_testbench)
... ...