2022-08-12 12:06:08 +00:00
|
|
|
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt
|
2024-02-29 20:09:43 +00:00
|
|
|
index 428bd9f8..04b84539 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/googlemock/CMakeLists.txt
|
|
|
|
+++ b/googlemock/CMakeLists.txt
|
2024-02-29 20:09:43 +00:00
|
|
|
@@ -104,10 +104,10 @@ endif()
|
|
|
|
string(REPLACE ";" "$<SEMICOLON>" dirs "${gmock_build_include_dirs}")
|
|
|
|
target_include_directories(gmock SYSTEM INTERFACE
|
|
|
|
"$<BUILD_INTERFACE:${dirs}>"
|
|
|
|
- "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
target_include_directories(gmock_main SYSTEM INTERFACE
|
|
|
|
"$<BUILD_INTERFACE:${dirs}>"
|
|
|
|
- "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
########################################################################
|
2024-02-29 20:09:43 +00:00
|
|
|
#
|
2022-08-12 12:06:08 +00:00
|
|
|
diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt
|
2024-02-29 20:09:43 +00:00
|
|
|
index 51a67c91..fb09e978 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/googletest/CMakeLists.txt
|
|
|
|
+++ b/googletest/CMakeLists.txt
|
2024-02-29 20:09:43 +00:00
|
|
|
@@ -143,10 +143,10 @@ set_target_properties(gtest_main PROPERTIES VERSION ${GOOGLETEST_VERSION})
|
|
|
|
string(REPLACE ";" "$<SEMICOLON>" dirs "${gtest_build_include_dirs}")
|
|
|
|
target_include_directories(gtest SYSTEM INTERFACE
|
|
|
|
"$<BUILD_INTERFACE:${dirs}>"
|
|
|
|
- "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
target_include_directories(gtest_main SYSTEM INTERFACE
|
|
|
|
"$<BUILD_INTERFACE:${dirs}>"
|
|
|
|
- "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")
|
|
|
|
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
|
2022-08-12 12:06:08 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "QNX")
|
|
|
|
target_link_libraries(gtest PUBLIC regex)
|
2024-02-29 20:09:43 +00:00
|
|
|
endif()
|