Skip to content

Commit

Permalink
only use local openssl with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
Li ZHOU committed Apr 12, 2017
1 parent 6994a9c commit db01c5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ cmake_minimum_required(VERSION 2.8.0)

# Workspace name
project(mysocks)
IF (MSVC)
include_directories(gnulib/lib libmd5-rfc libuv-1.11.0/include OpenSSL_1_1_0/include wolfssl-3.2.0)
ELSE()
include_directories(gnulib/lib libmd5-rfc libuv-1.11.0/include wolfssl-3.2.0)
ENDIF()
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
Expand Down

0 comments on commit db01c5e

Please sign in to comment.