Commit 111e7c12 authored by Dominik Charousset's avatar Dominik Charousset

Properly set include path for CURL

parent d8c0dc9d
...@@ -107,6 +107,7 @@ if(NOT CAF_NO_CURL_EXAMPLES) ...@@ -107,6 +107,7 @@ if(NOT CAF_NO_CURL_EXAMPLES)
find_package(CURL) find_package(CURL)
if(CURL_FOUND) if(CURL_FOUND)
add_executable(curl_fuse curl/curl_fuse.cpp) add_executable(curl_fuse curl/curl_fuse.cpp)
include_directories(${CURL_INCLUDE_DIRS})
target_link_libraries(curl_fuse ${CMAKE_DL_LIBS} ${LIBCAF_LIBRARIES} ${PTHREAD_LIBRARIES} ${CURL_LIBRARY}) target_link_libraries(curl_fuse ${CMAKE_DL_LIBS} ${LIBCAF_LIBRARIES} ${PTHREAD_LIBRARIES} ${CURL_LIBRARY})
add_dependencies(curl_fuse all_examples) add_dependencies(curl_fuse all_examples)
endif(CURL_FOUND) endif(CURL_FOUND)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment