Make sure that on MSVC platforms we force shared CRT to be consistent with other CMake defaults.

This commit is contained in:
Pavel Krajcevski 2013-09-01 10:19:03 -04:00
parent 5cde88d3b7
commit 6642b64c78

View file

@ -102,6 +102,9 @@ ENDFOREACH()
ENABLE_TESTING() ENABLE_TESTING()
IF(MSVC)
SET(gtest_force_shared_crt TRUE)
ENDIF(MSVC)
ADD_SUBDIRECTORY(GTest) ADD_SUBDIRECTORY(GTest)
FOREACH(DIR ${FASTC_DIRECTORIES}) FOREACH(DIR ${FASTC_DIRECTORIES})
SET(TESTDIR ${FasTC_SOURCE_DIR}/${DIR}/test) SET(TESTDIR ${FasTC_SOURCE_DIR}/${DIR}/test)