Skip to content

Commit

Permalink
Allow additional internal directories
Browse files Browse the repository at this point in the history
Summary: Set up the CMake build to accept additional internal directories.

Reviewed By: tmikov

Differential Revision: D67372246

fbshipit-source-id: 746993243463dd05943f8ec75ecc289c85153f58
  • Loading branch information
neildhar authored and facebook-github-bot committed Dec 18, 2024
1 parent bb90b33 commit 7d3c01e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/BCGen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ add_hermes_library(hermesBackend

add_subdirectory(HBC)
add_subdirectory(SH)

if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/facebook)
add_subdirectory(facebook)
endif()
4 changes: 4 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ add_subdirectory(node-hermes)
add_subdirectory(shermes)
add_subdirectory(synth)
add_subdirectory(hcdp)

if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/facebook)
add_subdirectory(facebook)
endif()

0 comments on commit 7d3c01e

Please sign in to comment.