mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Pass CMAKE_TOOLCHAIN_FILE down to external project (gmock).
This commit is contained in:
@@ -33,6 +33,7 @@ ExternalProject_Add(
|
||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/gmock
|
||||
# Disable install step
|
||||
INSTALL_COMMAND ""
|
||||
CMAKE_CACHE_ARGS -DCMAKE_TOOLCHAIN_FILE:string=${CMAKE_TOOLCHAIN_FILE}
|
||||
)
|
||||
|
||||
# Create a libgmock target to be used as a dependency by test programs
|
||||
|
||||
Reference in New Issue
Block a user