summaryrefslogtreecommitdiffstats
path: root/lib/polarssl.cmake
diff options
context:
space:
mode:
authortycho <tycho@hanoverdesktop>2014-07-06 17:27:50 +0200
committertycho <tycho@hanoverdesktop>2014-07-06 17:27:50 +0200
commitc3bd588826cd6de53f98cf96f2d275fc15df6f4f (patch)
tree54d2e7d05cd0fe89930dd497d681924cdfdc332f /lib/polarssl.cmake
parentMerge pull request #1144 from mc-server/LuaCodeGen (diff)
downloadcuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar.gz
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar.bz2
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar.lz
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar.xz
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.tar.zst
cuberite-c3bd588826cd6de53f98cf96f2d275fc15df6f4f.zip
Diffstat (limited to 'lib/polarssl.cmake')
-rw-r--r--lib/polarssl.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/polarssl.cmake b/lib/polarssl.cmake
index 91f0fa145..ced70b94e 100644
--- a/lib/polarssl.cmake
+++ b/lib/polarssl.cmake
@@ -1,9 +1,9 @@
if(NOT TARGET polarssl)
message("including polarssl")
+ set(ENABLE_TESTING OFF CACHE BOOL "Disable tests")
+ set(ENABLE_PROGRAMS OFF CACHE BOOL "Disable programs")
if (SELF_TEST)
- set(ENABLE_TESTING OFF CACHE BOOL "Disable tests")
- set(ENABLE_PROGRAMS OFF CACHE BOOL "Disable programs")
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl)
else()
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl EXCLUDE_FROM_ALL)