diff options
author | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-19 14:29:22 +0200 |
commit | 4293db5eae2f63ab7a3073476ad44b43297cc862 (patch) | |
tree | 55008d12b997281d9043f881e6d1766c7d7fafc7 /src/PolarSSL++ | |
parent | Merge pull request #1223 from mc-server/fixes (diff) | |
parent | Fixed MSVC bindings generation. (diff) | |
download | cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.gz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.bz2 cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.lz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.xz cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.tar.zst cuberite-4293db5eae2f63ab7a3073476ad44b43297cc862.zip |
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r-- | src/PolarSSL++/CMakeLists.txt | 12 |
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() |