Do not build with openssl support on windows

This commit is contained in:
Jan Kaluza 2012-03-06 09:24:23 +01:00
parent 7292a987c5
commit 7dd245244e

View file

@ -1,6 +1,12 @@
cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC *.cpp *.h)
FILE(GLOB_RECURSE SWIFTEN_SRC ../include/Swiften/*.cpp)
# Build without openssl on windows
if (WIN32)
string(REGEX REPLACE "[^;]+;?/OpenSSL/[^;]+;?" "" SWIFTEN_SRC "${SWIFTEN_SRC}")
endif()
FILE(GLOB HEADERS ../include/transport/*.h)
if (CPPUNIT_FOUND)