mirror of
https://github.com/nemtrif/utfcpp.git
synced 2025-04-06 05:55:08 +00:00
Disable GTest installation
This commit is contained in:
parent
c3f9261eb8
commit
bd47edcbe5
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ endif()
|
|||
|
||||
if(UTF8_TESTS)
|
||||
enable_testing()
|
||||
set(INSTALL_GTEST OFF CACHE INTERNAL "")
|
||||
set(gtest_force_shared_crt ON CACHE INTERNAL "Need to use shared DLL for MSVC to avoid conflicts when linking")
|
||||
add_subdirectory(extern/gtest)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue