add FRNETLIB_LIB for apple and linux.

This commit is contained in:
miaodx 2017-05-29 23:47:33 +08:00
parent bb9eaa3981
commit 8a380c6620

View File

@ -14,8 +14,10 @@ if( WIN32 )
elseif(APPLE)
set( ADDITIONAL_LIB "" )
set( FRNETLIB_LIB frnetlib)
else()
set( ADDITIONAL_LIB "" )
set( FRNETLIB_LIB frnetlib)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -m64 -fPIC -std=c++14 -pthread -lmbedtls -lmbedx509 -lmbedcrypto")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -m64 -fPIC -std=c++14 -pthread")
endif()