Commit fb7c6d15 authored by Lucas Serrano's avatar Lucas Serrano
Browse files

Forward C and C++ compiler to gtest cmake

parent 6bab7d52
......@@ -19,6 +19,7 @@ ExternalProject_Add(
gtest
URL https://github.com/google/googletest/archive/release-1.8.0.zip
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/gtest
CMAKE_CACHE_ARGS "-DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}" "-DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}"
# Disable install step
INSTALL_COMMAND ""
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment