Skip to content

Commit 9ebe4a2

Browse files
committed
Stop setting re2_INCLUDE_DIR.
It was probably neither needed nor used and will start causing problems as of CMake 3.29, which removes `PACKAGE_PREFIX_DIR`. Fixes google#488. Change-Id: I707dc903234309698a6745d2b61279fd3b7bd6dc Reviewed-on: https://code-review.googlesource.com/c/re2/+/62930 Reviewed-by: Paul Wankadia <[email protected]> Reviewed-by: Alex Chernyakhovsky <[email protected]>
1 parent ac82d4f commit 9ebe4a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

re2Config.cmake.in

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
include(CMakeFindDependencyMacro)
88

9-
set_and_check(re2_INCLUDE_DIR ${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@)
10-
119
if(UNIX)
1210
set(THREADS_PREFER_PTHREAD_FLAG ON)
1311
find_dependency(Threads REQUIRED)

0 commit comments

Comments
 (0)