Logo
Explore Help
Sign In
DaddyFrosty/yoga
1
0
Fork 0
You've already forked yoga
Code Issues 96 Pull Requests 31 Actions Packages Projects Releases 33 Wiki Activity
Files
dc2581f229cb05c7d2af8dee37b2ee0b59fd5326
yoga/cmake/yoga-config.cmake.in

10 lines
281 B
CMake
Raw Normal View History

Add cmake install configurations (#1129) Summary: Add some cmake configurations to support cmake install command. So other cmake based project can depends on yoga by using cmake `find_package` function as follow: ``` find_package(yoga CONFIG REQUIRED) target_link_libraries(main PRIVATE yoga::yogacore) ``` Resolves https://github.com/facebook/yoga/issues/1057 Pull Request resolved: https://github.com/facebook/yoga/pull/1129 Reviewed By: cortinico Differential Revision: D40581194 Pulled By: NickGerleman fbshipit-source-id: 1f67991b31713561cad766d695dae11c6fc78bbf
2022-10-21 14:46:07 -07:00
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/yogaTargets.cmake")
check_required_components(yoga)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 115ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API