Skip to content

Commit

Permalink
Export public headers from libhermes
Browse files Browse the repository at this point in the history
Summary:
Anything depending on libhermes needs the contents of the public
directory.

Reviewed By: jpporto

Differential Revision: D38478938

fbshipit-source-id: e00e618babc6ede6bf218fbee36a50acb5f1b218
  • Loading branch information
neildhar authored and facebook-github-bot committed Aug 6, 2022
1 parent e3a1d22 commit df601e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/hermes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ target_link_libraries(libhermes
target_link_options(libhermes PRIVATE ${HERMES_EXTRA_LINKER_FLAGS})

# Export the required header directory
target_include_directories(libhermes PUBLIC .. ${HERMES_JSI_DIR})
target_include_directories(libhermes PUBLIC .. ../../public ${HERMES_JSI_DIR})

set_target_properties(libhermes PROPERTIES
# Avoid becoming liblibhermes (and there's already a target called 'hermes')
Expand Down

0 comments on commit df601e9

Please sign in to comment.