diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-21 17:23:10 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-21 17:23:10 +0200 |
commit | 2bdad8d69575ae4fc6ac465d141929f57f05a6c2 (patch) | |
tree | 76aa78789bb66d7c40eab0282f171fbd56220022 /src/common | |
parent | Merge pull request #1759 (diff) | |
parent | add openssl to readme (diff) | |
download | monero-2bdad8d69575ae4fc6ac465d141929f57f05a6c2.tar.xz |
Merge pull request #1760
efdd783c add openssl to readme (Riccardo Spagni)
058eed36 cmakify openssl (Riccardo Spagni)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index eb4d4c25d..6f64cfbf2 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -26,6 +26,8 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR}) + set(common_sources base58.cpp command_line.cpp @@ -78,7 +80,6 @@ target_link_libraries(common PUBLIC epee crypto - -lcrypto ${UNBOUND_LIBRARY} ${LIBUNWIND_LIBRARIES} ${Boost_DATE_TIME_LIBRARY} @@ -87,6 +88,7 @@ target_link_libraries(common ${Boost_THREAD_LIBRARY} ${Boost_REGEX_LIBRARY} PRIVATE + ${OPENSSL_LIBRARIES} ${EXTRA_LIBRARIES}) #monero_install_headers(common |