[ https://issues.apache.org/jira/browse/THRIFT-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262912#comment-14262912 ]
ASF GitHub Bot commented on THRIFT-2925: ---------------------------------------- GitHub user nsuke opened a pull request: https://github.com/apache/thrift/pull/344 THRIFT-2925 CMake build does not work with OpenSSL nor anything installe... ...d in non-system location This diff fixes them by correcting invalid CMake variable names: * OPENSSL_... rather than OpenSSL_... * LIBEVENT_... rather than Libevent_... * Boost_INCLUDE_DIRS rather than Boost_INCLUDE_DIR * LIBEVENT_INCLUDE_DIRS rather than LIBEVENT_INCLUDE_DIR * ZLIB_INCLUDE_DIRS rather than ZLIB_INCLUDE_DIR Note: * OPENSSL_INCLUDE_DIR is correct (rather than ..._DIRS) * Boost_INCLUDE_DIR exists and actually works for most cases but Boost_INCLUDE_DIRS is the one desinged to be included Also, library headers are now included as SYSTEM headers. You can merge this pull request into a Git repository by running: $ git pull https://github.com/nsuke/thrift THRIFT-2925 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/344.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #344 ---- commit f6fc23350f32c4092ed03a95fb36238e07a3342a Author: Nobuaki Sukegawa <nsu...@gmail.com> Date: 2015-01-02T14:16:55Z THRIFT-2925 CMake build does not work with OpenSSL nor anything installed in non-system location This diff fixes them by correcting invalid CMake variable names: * OPENSSL_... rather than OpenSSL_... * LIBEVENT_... rather than Libevent_... * Boost_INCLUDE_DIRS rather than Boost_INCLUDE_DIR * LIBEVENT_INCLUDE_DIRS rather than LIBEVENT_INCLUDE_DIR * ZLIB_INCLUDE_DIRS rather than ZLIB_INCLUDE_DIR Note: * OPENSSL_INCLUDE_DIR is correct (rather than ..._DIRS) * Boost_INCLUDE_DIR exists and actually works for most cases but Boost_INCLUDE_DIRS is the one desinged to be included Also, library headers are now included as SYSTEM headers. ---- > CMake build does not work with OpenSSL nor anything installed in non-system > location > ------------------------------------------------------------------------------------ > > Key: THRIFT-2925 > URL: https://issues.apache.org/jira/browse/THRIFT-2925 > Project: Thrift > Issue Type: Bug > Components: Build Process, C++ - Library > Reporter: Nobuaki Sukegawa > > It's caused by many incorrect CMake variable names. > Examples of correct variable names: > * LIBEVENT_INCLUDE_DIRS > * OPENSSL_INCLUDE_DIR (without S !!) > * Boost_INCLUDE_DIRS (not BOOST !!) > It is almost funny how these variable names are inconsistent, nonetheless > correct names should be used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)