Index: lib/interception/tests/CMakeLists.txt =================================================================== --- lib/interception/tests/CMakeLists.txt +++ lib/interception/tests/CMakeLists.txt @@ -89,7 +89,7 @@ InterceptionUnitTests "Interception-${arch}-Test" ${arch} RUNTIME ${INTERCEPTION_COMMON_LIB} SOURCES ${INTERCEPTION_UNITTESTS} ${COMPILER_RT_GTEST_SOURCE} - COMPILE_DEPS gtest ${INTERCEPTION_TEST_HEADERS} + COMPILE_DEPS ${INTERCEPTION_TEST_HEADERS} DEPS gtest CFLAGS ${INTERCEPTION_TEST_CFLAGS_COMMON} LINK_FLAGS ${INTERCEPTION_TEST_LINK_FLAGS_COMMON})