fix linker error by reordering link libraries

This commit is contained in:
Paul Redmond 2014-07-23 10:35:42 -04:00
parent b33d1f1d39
commit 52b3004ae3
1 changed files with 1 additions and 1 deletions

View File

@ -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)