Re: [CMake] How to set libcurl library path and the library name?

2017-04-27 Thread Alex Chen
(since CMake 2.8.8) But in fact it is looking for CURL_INCLUDE_DIR, not CURL_INCLUDE_DIRS.  If I set –DCURL_INCLUDE_DIRS, cmake cannot find libcurl’s header files. Alex Chen From: CMake <cmake-boun...@cmake.org> on behalf of Alex Chen <alex_c...@filemaker.com> Date: Thursd

[CMake] How to set libcurl library path and the library name?

2017-04-27 Thread Alex Chen
[1]: *** [aws-cpp-sdk-s3-integration-tests/CMakeFiles/aws-cpp-sdk-s3-integration-tests.dir/all] Error 2 make: *** [all] Error 2 Thanks for any help you can provide Alex Chen -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmak

Re: [CMake] Overriding the include path, library path of OpenSSL, Zlib and libcurl

2017-04-21 Thread Alex Chen
und’, but libz.so still links to /lib64/libz.so. (It seems to ignore the fact it does find a new path of zlib.) How to I set the linker flag, i.e. –L and –Wl,-rpath=$myLibPath ? Alex Chen From: CMake <cmake-boun...@cmake.org> on behalf of Alex Chen <alex_c...@filemaker.com&g

Re: [CMake] Overriding the include path, library path of OpenSSL, Zlib and libcurl

2017-04-21 Thread Alex Chen
Thanks for the help.  I will try that. Alex Chen From: Michael Ellery <mellery...@gmail.com> Date: Thursday, April 20, 2017 at 8:13 PM To: Alex Chen <alex_c...@filemaker.com> Cc: CMake <cmake@cmake.org> Subject: Re: [CMake] Overriding the include path, library pat

[CMake] Overriding the include path, library path of OpenSSL, Zlib and libcurl

2017-04-20 Thread Alex Chen
FindOpenSSL module, and ZLIB_ROOT, from FindZLIB module, to override the paths.  But I cannot find anything in FindCURL module to override the path of libcurl. Alex Chen -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] How to set C++ standard?

2017-04-20 Thread Alex Chen
Thanks.  I find the problem in the source code where it uses CPP_STANDARD as suffix in –std=c++, therefore I should set CPP_STANDARD instead of the other one. Alex Chen From: Craig Scott <craig.sc...@crascit.com> Date: Thursday, April 20, 2017 at 4:41 PM To: Alex Chen &

[CMake] How to set C++ standard?

2017-04-20 Thread Alex Chen
set the flag –std=c++14 then? Alex Chen -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake