diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt index 99b2411f..33ec9636 100644 --- a/googlemock/CMakeLists.txt +++ b/googlemock/CMakeLists.txt @@ -105,10 +105,10 @@ endif() string(REPLACE ";" "$" dirs "${gmock_build_include_dirs}") target_include_directories(gmock SYSTEM INTERFACE "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") target_include_directories(gmock_main SYSTEM INTERFACE "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") ######################################################################## # diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt index dce6a7c9..f1da42ff 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt @@ -143,10 +143,10 @@ set_target_properties(gtest_main PROPERTIES VERSION ${GOOGLETEST_VERSION}) string(REPLACE ";" "$" dirs "${gtest_build_include_dirs}") target_include_directories(gtest SYSTEM INTERFACE "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") target_include_directories(gtest_main SYSTEM INTERFACE "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}>") + "$") if(CMAKE_SYSTEM_NAME MATCHES "QNX" AND CMAKE_SYSTEM_VERSION VERSION_GREATER_EQUAL 7.1) target_link_libraries(gtest PUBLIC regex) endif()