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}"