mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 13:14:15 +01:00
Made building of programs optional in CMake
This commit is contained in:
parent
674e0b015a
commit
df5024c0dd
@ -40,6 +40,7 @@ endif(CMAKE_BUILD_TYPE STREQUAL "Coverage")
|
||||
option(USE_PKCS11_HELPER_LIBRARY "Build PolarSSL with the pkcs11-helper library." OFF)
|
||||
|
||||
option(ENABLE_ZLIB_SUPPORT "Build PolarSSL with zlib library." OFF)
|
||||
option(ENABLE_PROGRAMS "Build PolarSSL programs." ON)
|
||||
|
||||
if(LIB_INSTALL_DIR)
|
||||
else()
|
||||
@ -66,7 +67,9 @@ if(CMAKE_COMPILER_IS_CLANG)
|
||||
add_subdirectory(tests)
|
||||
endif(CMAKE_COMPILER_IS_CLANG)
|
||||
|
||||
if(ENABLE_PROGRAMS)
|
||||
add_subdirectory(programs)
|
||||
endif()
|
||||
|
||||
ADD_CUSTOM_TARGET(apidoc
|
||||
COMMAND doxygen doxygen/polarssl.doxyfile
|
||||
|
Loading…
Reference in New Issue
Block a user