Update CMakeLists.txt to support gtest linking for Windows
This commit is contained in:
parent
fe8d6e9760
commit
8283b56a5d
1 changed files with 5 additions and 0 deletions
|
@ -142,6 +142,11 @@ else ()
|
|||
set (ARGON_CORE phc-winner-argon2/src/ref.c)
|
||||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
set (gtest_force_shared_crt ON)
|
||||
else ()
|
||||
set (gtest_force_shared_crt OFF)
|
||||
endif()
|
||||
add_subdirectory (gtest)
|
||||
include_directories ("gtest/include")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue