agones.dev/agones@v1.54.0/sdks/cpp/cmake/agonesConfig.cmake.in (about)

     1  # Copyright 2019 Google LLC All Rights Reserved.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  set(agones_VERSION @agones_VERSION@)
    16  
    17  @PACKAGE_INIT@ 
    18  
    19  set(agones_INCLUDE_DIRS @PACKAGE__INCLUDE_DIRS@)
    20  
    21  set(AGONES_OWN_GRPC @AGONES_OWN_GRPC@)
    22  if (${AGONES_OWN_GRPC})
    23      set(ZLIB_ROOT @zlib_DIR@)
    24      set(ZLIB_LIBRARIES @ZLIB_LIBRARIES@)
    25      set(OPENSSL_ROOT_DIR @OPENSSL_ROOT_DIR@)
    26  endif()
    27  
    28  include(CMakeFindDependencyMacro)
    29  find_dependency(ZLIB)
    30  find_dependency(Protobuf CONFIG)
    31  find_dependency(gRPC CONFIG)
    32  include("${CMAKE_CURRENT_LIST_DIR}/agonesTargets.cmake")
    33  
    34  check_required_components(agones)