-
-
Save anonymous/79f72d364ce2e5d3b5384e5ffa683073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.6) | |
project(untitled5) | |
set(CMAKE_CXX_STANDARD 11) | |
set(SOURCE_FILES main.cpp) | |
find_package(OpenSSL) | |
target_link_libraries(untitled5 ${OPENSSL_LIBRARIES}) | |
set(CMAKE_EXE_LINKER_FLAGS "--static-libgcc --static-libstdc++") | |
add_library (untitled5 SHARED ${SOURCE_FILES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment