Link dl, pthread, and glog into gen-ext-hhvm, gen-infotabs, and folly

Esse commit está contido em:
Sara Golemon
2013-05-02 15:49:53 -07:00
commit cf076e8972
2 arquivos alterados com 9 adições e 3 exclusões
+7 -1
Ver Arquivo
@@ -15,4 +15,10 @@ find_package(Boost 1.48.0 COMPONENTS system program_options filesystem regex REQ
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
target_link_libraries(folly ${Boost_LIBRARIES})
find_package(Glog REQUIRED)
include_directories(${LIBGLOG_INCLUDE_DIR})
find_package(PThread REQUIRED)
include_directories(${LIBPTHREAD_INCLUDE_DIRS})
target_link_libraries(folly ${Boost_LIBRARIES} ${LIBGLOG_LIBRARY} ${LIBPTHREAD_LIBRARIES})
+2 -2
Ver Arquivo
@@ -1,5 +1,5 @@
add_executable(gen-ext-hhvm "gen-ext-hhvm.cpp" "idl.cpp")
target_link_libraries(gen-ext-hhvm folly ${LIBGLOG_LIBRARY} double-conversion)
target_link_libraries(gen-ext-hhvm folly ${LIBGLOG_LIBRARY} double-conversion ${LIBPTHREAD_LIBRARIES} ${DL_LIB})
add_executable(gen-infotabs "gen-infotabs.cpp" "idl.cpp")
target_link_libraries(gen-infotabs folly ${LIBGLOG_LIBRARY} double-conversion)
target_link_libraries(gen-infotabs folly ${LIBGLOG_LIBRARY} double-conversion ${LIBPTHREAD_LIBRARIES} ${DL_LIB})