From 1024ce8ecdf621242f98a86d19376fdb14e4a0fc Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 17 Jan 2023 19:25:02 +0100 Subject: [PATCH] Link unit tests with emu --- test/macros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/macros.cmake b/test/macros.cmake index ccb6fd5..a71b3e3 100644 --- a/test/macros.cmake +++ b/test/macros.cmake @@ -31,11 +31,12 @@ function(unit_test source) include_directories( "${CMAKE_SOURCE_DIR}/src/include" + "${CMAKE_SOURCE_DIR}/src/emu" "${CMAKE_SOURCE_DIR}/src" "${CMAKE_SOURCE_DIR}/include" ) add_executable("${OVNI_TEST_NAME}" "${OVNI_TEST_SOURCE}") - target_link_libraries("${OVNI_TEST_NAME}" PRIVATE ovni chan) + target_link_libraries("${OVNI_TEST_NAME}" PRIVATE ovni emu) add_test(NAME "${OVNI_TEST_NAME}" COMMAND "${OVNI_TEST_NAME}"