summaryrefslogtreecommitdiffstats
path: root/lib/polarssl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/polarssl.cmake')
-rw-r--r--lib/polarssl.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polarssl.cmake b/lib/polarssl.cmake
index 4a2af9dfd..172a63729 100644
--- a/lib/polarssl.cmake
+++ b/lib/polarssl.cmake
@@ -2,7 +2,7 @@
if(NOT TARGET polarssl)
message("including polarssl")
if (SELF_TEST)
- set(ENABLE_TESTING 0)
+ set(ENABLE_TESTING OFF CACHE BOOL)
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)