Commit be9bfa05 authored by Rashad Kanavath's avatar Rashad Kanavath

ENH: include curl cmake vars only if curl is activated

parent a1403d36
......@@ -108,8 +108,10 @@ ADD_SUPERBUILD_CMAKE_VAR(OpenCV_DIR)
ADD_SUPERBUILD_CMAKE_VAR(LIBSVM_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(LIBSVM_LIBRARY)
if(OTB_USE_CURL)
ADD_SUPERBUILD_CMAKE_VAR(CURL_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(CURL_LIBRARY)
endif()
if(MSVC)
ADD_SUPERBUILD_CMAKE_VAR(JPEG_LIBRARY)
......
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