Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 2.8)
- project(UseOpenSSL)
- find_package(OpenSSL REQUIRED)
- message("Libs: ${OPENSSL_LIBRARIES}")
- message("Includes: ${OPENSSL_INCLUDE_DIR}")
- include_directories(${OPENSSL_INCLUDE_DIR})
- add_executable(net net.cpp)
- target_link_libraries(net ${OPENSSL_LIBRARIES})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement