diff --git a/src/timer/CMakeLists.txt b/src/timer/CMakeLists.txt index ba97587..b6c0bb7 100644 --- a/src/timer/CMakeLists.txt +++ b/src/timer/CMakeLists.txt @@ -5,3 +5,13 @@ add_library(timer STATIC target_include_directories(timer PUBLIC ${CMAKE_CURRENT_LIST_DIR} ) + +if(UNIT_TESTING) + target_link_libraries(timer + MockRegEdit + ) +else() + target_link_libraries(timer + RegEdit + ) +endif() diff --git a/src/timer/timer.h b/src/timer/timer.h index a2c4eab..fe40ebb 100644 --- a/src/timer/timer.h +++ b/src/timer/timer.h @@ -17,4 +17,6 @@ */ int add_two(int a); + + #endif //TIMER