Commit c57c4af327979ad4189b108eaf751c912c8dea01

Sebastian Bauer 2012-12-29T23:27:14

Disable SSL when compiling for AmigaOS for now.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87c0b35..e8eb46e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,9 @@ INCLUDE_DIRECTORIES(src include)
 IF (WIN32 AND NOT MINGW)
 	ADD_DEFINITIONS(-DGIT_WINHTTP)
 ELSE ()
-	FIND_PACKAGE(OpenSSL)
+	IF (NOT AMIGA)
+		FIND_PACKAGE(OpenSSL)
+	ENDIF ()
 	FILE(GLOB SRC_HTTP deps/http-parser/*.c)
 	INCLUDE_DIRECTORIES(deps/http-parser)
 ENDIF()