Add cmake install configurations #1129

Closed
RuiwenTang wants to merge 1 commits from refactor/cmake_config_install into main
RuiwenTang commented 2022-02-11 03:08:08 -08:00 (Migrated from github.com)

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 #1057

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 #1057
facebook-github-bot commented 2022-10-20 22:16:38 -07:00 (Migrated from github.com)

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D40581194).

Pull request closed

Sign in to join this conversation.
No description provided.