From: Yousong Zhou Date: Tue, 11 Nov 2014 10:34:01 +0000 (+0800) Subject: cmake: Do not hardcode /opt/local/include for Apple. X-Git-Url: http://git.openwrt.org/?p=project%2Fustream-ssl.git;a=commitdiff_plain;h=16bf6f0f4b3bee60540af9b289d55faee2a3f86e cmake: Do not hardcode /opt/local/include for Apple. Signed-off-by: Yousong Zhou --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f494f6d..c09fe51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,11 +7,6 @@ ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") -IF(APPLE) - INCLUDE_DIRECTORIES(/opt/local/include) - LINK_DIRECTORIES(/opt/local/lib) -ENDIF() - IF(POLARSSL) ADD_DEFINITIONS(-DHAVE_POLARSSL) SET(SSL_SRC ustream-polarssl.c)