• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The RE2 Authors.  All Rights Reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5@PACKAGE_INIT@
6
7include(CMakeFindDependencyMacro)
8
9if(UNIX)
10  set(THREADS_PREFER_PTHREAD_FLAG ON)
11  find_dependency(Threads REQUIRED)
12endif()
13
14find_dependency(absl REQUIRED)
15
16if(@RE2_USE_ICU@)
17  find_dependency(ICU REQUIRED COMPONENTS uc)
18endif()
19
20check_required_components(re2)
21
22if(TARGET re2::re2)
23  return()
24endif()
25
26include(${CMAKE_CURRENT_LIST_DIR}/re2Targets.cmake)
27