Skip to content

Commit

Permalink
Add support to build Hack independently
Browse files Browse the repository at this point in the history
Summary:
This change sets CMAKE_MODULE_PATH in hphp/hack/CMakeLists.txt. This is to allow Hack to be built independently from HHVM

Ref: hhvm/homebrew-hhvm#45
Closes #7210

Differential Revision: D3532241

Pulled By: paulbiss

fbshipit-source-id: 2be006f25d3c04586b3adaa06e428c9839255fc1
  • Loading branch information
raeesiqbal authored and Hhvm Bot committed Sep 9, 2016
1 parent 67f7e90 commit 7f556de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hphp/hack/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7 FATAL_ERROR)

SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../CMake" ${CMAKE_MODULE_PATH})

find_package(OCaml)
find_package(LZ4)
find_package(LibElf)
Expand Down

0 comments on commit 7f556de

Please sign in to comment.