Changeset - 7dd245244ef1
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-03-06 09:24:23
hanzz.k@gmail.com
Do not build with openssl support on windows
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/CMakeLists.txt
Show inline comments
 
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)
 
	FILE(GLOB SRC_TEST tests/*.cpp)
 

	
 
	ADD_EXECUTABLE(libtransport_test ${SRC_TEST})
0 comments (0 inline, 0 general)