Included conditional link for mocked timer
This commit is contained in:
parent
34602643c2
commit
32c093d00c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue