Skip to content

Commit

Permalink
Pass CMAKE_BUILD_TYPE to gtest build (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardcode84 authored Oct 18, 2018
1 parent b3b1488 commit afa5a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else()
ExternalProject_Add(
GTest
URL https://github.com/google/googletest/archive/release-1.8.0.zip
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${GTEST_INSTALL_DIR} -Dgtest_force_shared_crt=ON
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=${GTEST_INSTALL_DIR} -Dgtest_force_shared_crt=ON
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON)
Expand Down

0 comments on commit afa5a9d

Please sign in to comment.