Skip to content

Commit d4c01d1

Browse files
committed
use common-timer
1 parent 6df819b commit d4c01d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ set(INFOLOGGER_LIB_OBJECTS
119119
$<TARGET_OBJECTS:objCommonConfiguration>
120120
$<TARGET_OBJECTS:objCommonSimpleLog>
121121
$<TARGET_OBJECTS:objCommonLineBuffer>
122+
$<TARGET_OBJECTS:objCommonTimer>
122123
)
123124

124125
# shared library
@@ -380,7 +381,7 @@ foreach (f ${TEST_SRCS})
380381
string(REGEX REPLACE ".cxx" "" test_name ${test_name})
381382
set(exe "${test_name}.exe")
382383
message ("${exe}")
383-
add_executable(${exe} ${f} ${INFOLOGGER_LIB_OBJECTS} $<TARGET_OBJECTS:objCommonTimer>)
384+
add_executable(${exe} ${f} ${INFOLOGGER_LIB_OBJECTS})
384385
target_link_libraries(${exe} InfoLogger)
385386
target_include_directories(${exe} PRIVATE ${COMMON_STANDALONE_INCLUDE_DIRS} src)
386387
add_test(NAME ${test_name} COMMAND ${exe})

0 commit comments

Comments
 (0)