Skip to content

Commit

Permalink
update build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Sep 5, 2023
1 parent ae828af commit 9659782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR MSVC)
NAMES libgtest.a gtest.lib libgtest.so
PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Debug)
target_link_libraries(Test debug ${GTESTD_LIB})
else()
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release" OR MSVC)
find_library( GTEST_LIB
NAMES libgtest.a gtest.lib libgtest.so
PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Release)
Expand Down

0 comments on commit 9659782

Please sign in to comment.