Skip to content

Commit

Permalink
Add expat dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott MacVicar committed Feb 21, 2010
1 parent 3d9c41e commit 787cbd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMake/HPHPFindLibs.cmake
Expand Up @@ -88,6 +88,9 @@ find_package(LibXml2 REQUIRED)
include_directories(${LIBXML2_INCLUDE_DIR})
add_definitions(${LIBXML2_DEFINITIONS})

find_package(EXPAT REQUIRED)
include_directories(${EXPAT_INCLUDE_DIRS})

# SQLite3 + timelib are bundled in HPHP sources
include_directories("${HPHP_HOME}/src/third_party/libsqlite3")
include_directories("${HPHP_HOME}/src/third_party/timelib")
Expand Down Expand Up @@ -188,6 +191,7 @@ macro(hphp_link target)
target_link_libraries(${target} afdt)
target_link_libraries(${target} mbfl)
target_link_libraries(${target} ${LIBXML2_LIBRARIES})
target_link_libraries(${target} ${EXPAT_LIBRARY})
target_link_libraries(${target} ${ONIG_LIB})
target_link_libraries(${target} ${Mcrypt_LIB})
target_link_libraries(${target} ${GD_LIBRARY})
Expand Down

0 comments on commit 787cbd1

Please sign in to comment.