Included conditional link for mocked timer

This commit is contained in:
Jake Goodwin 2024-09-02 13:33:41 -07:00
parent 34602643c2
commit 32c093d00c
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ target_include_directories(Relays PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)
if(UNIT_TESTING)
target_link_libraries(Relays
TimerMock
)
else()
target_link_libraries(Relays
timer
)
endif()