Link unit tests with emu
This commit is contained in:
parent
a4f235dd97
commit
1024ce8ecd
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user