Skip to content

Commit

Permalink
Fixed gtest building as debug in release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodle committed Oct 28, 2013
1 parent 365bb7c commit cb25f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/BuildGTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ExternalProject_Add(
gtest
URL "${GTEST_URL}"
URL_MD5 ${GTEST_MD5}
CMAKE_ARGS -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS=${ADD_CXX_FLAGS}
CMAKE_ARGS -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS=${ADD_CXX_FLAGS} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -Dgtest_force_shared_crt:BOOL=ON
BUILD_IN_SOURCE 1
INSTALL_COMMAND ""
)
Expand Down

0 comments on commit cb25f39

Please sign in to comment.