Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hnwyllmm authored Sep 20, 2024
1 parent 2af24cc commit e0e7385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/memtracer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ FOREACH (F ${ALL_SRC})
get_filename_component(prjName ${F} NAME_WE)
MESSAGE("Build ${prjName} according to ${F}")
ADD_EXECUTABLE(${prjName} ${F})
TARGET_LINK_LIBRARIES(${prjName} pthread dl gtest gtest_main memtracer)
TARGET_LINK_LIBRARIES(${prjName} pthread dl GTest::gtest_main memtracer)
add_test(NAME ${prjName} COMMAND ${prjName})
ENDFOREACH (F)

0 comments on commit e0e7385

Please sign in to comment.