mirror of https://github.com/google/benchmark.git
fix linker error by reordering link libraries
This commit is contained in:
parent
b33d1f1d39
commit
52b3004ae3
|
@ -4,5 +4,5 @@ target_link_libraries(benchmark_test benchmark ${CMAKE_THREAD_LIBS_INIT})
|
|||
|
||||
# Test harness for regex wrapper
|
||||
add_executable(re_test ${RE_FILES} "re_test.cc")
|
||||
target_link_libraries(re_test benchmark_re ${CMAKE_THREAD_LIBS_INIT} gtest gtest_main)
|
||||
target_link_libraries(re_test benchmark_re gtest gtest_main ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(regex re_test)
|
||||
|
|
Loading…
Reference in New Issue