Permalink
Browse files

Fix issue with Google Test on Linux.

  • Loading branch information...
pascalhorton committed Dec 22, 2017
1 parent 511dfcb commit a3e0cbb2a7e77d106157b32092a93171fa930089
Showing with 6 additions and 2 deletions.
  1. +6 −2 tests/CMakeLists.txt
View
@@ -125,8 +125,12 @@ add_dependencies(atmoswing-tests asbase)
add_dependencies(atmoswing-tests asprocessing)
target_link_libraries(atmoswing-tests asbase)
target_link_libraries(atmoswing-tests asprocessing)
target_link_libraries(atmoswing-tests debug gtestd gtest_maind)
target_link_libraries(atmoswing-tests optimized gtest gtest_main)
if (WIN32)
target_link_libraries(atmoswing-tests debug gtestd gtest_maind)
target_link_libraries(atmoswing-tests optimized gtest gtest_main)
else (WIN32)
target_link_libraries(atmoswing-tests gtest gtest_main)
endif (WIN32)
if (UNIX)
target_link_libraries(atmoswing-tests pthread)
endif (UNIX)

0 comments on commit a3e0cbb

Please sign in to comment.