summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-19 01:04:07 +0200
committerarchshift <admin@archshift.com>2014-07-19 04:05:51 +0200
commit135dc333c131a9bde32609351e2b495c80b49f53 (patch)
tree002bbf977972623999ed5ae966374dffc362c1e7 /src/PolarSSL++
parentBlocks/CMakeLists.txt: Fixed header list after merge of master (diff)
downloadcuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar.gz
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar.bz2
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar.lz
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar.xz
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.tar.zst
cuberite-135dc333c131a9bde32609351e2b495c80b49f53.zip
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r--src/PolarSSL++/CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/PolarSSL++/CMakeLists.txt b/src/PolarSSL++/CMakeLists.txt
index 9a59cdb2c..39d41292d 100644
--- a/src/PolarSSL++/CMakeLists.txt
+++ b/src/PolarSSL++/CMakeLists.txt
@@ -3,7 +3,7 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-set(SOURCES
+set(SRCS
AesCfb128Decryptor.cpp
AesCfb128Encryptor.cpp
BlockingSslClientSocket.cpp
@@ -18,7 +18,7 @@ set(SOURCES
X509Cert.cpp
)
-set(HEADERS
+set(HDRS
AesCfb128Decryptor.h
AesCfb128Encryptor.h
BlockingSslClientSocket.h
@@ -33,8 +33,10 @@ set(HEADERS
X509Cert.h
)
-add_library(PolarSSL++ ${SOURCES} ${HEADERS})
+if(NOT MSVC)
+ add_library(PolarSSL++ ${SRCS} ${HDRS})
-if (UNIX)
- target_link_libraries(PolarSSL++ polarssl)
+ if (UNIX)
+ target_link_libraries(PolarSSL++ polarssl)
+ endif()
endif()