CMake: Add comments

(cherry picked from commit 9d997d6f9d)
This commit is contained in:
Lasse Collin 2024-05-20 16:55:00 +03:00
parent c35259c9e2
commit 8a99272d4a
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,7 @@ if(BUILD_TESTING)
set(HAVE_ALL_CHECK_TYPES OFF) set(HAVE_ALL_CHECK_TYPES OFF)
endif() endif()
# test_scripts.sh only needs LZMA2 decoder and CRC32.
if(UNIX AND HAVE_DECODERS) if(UNIX AND HAVE_DECODERS)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test_scripts") file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test_scripts")
@ -135,6 +136,7 @@ if(BUILD_TESTING)
) )
endif() endif()
# test_suffix.sh only needs LZMA2 encoder and decoder.
if(UNIX AND HAVE_ENCODERS AND HAVE_DECODERS) if(UNIX AND HAVE_ENCODERS AND HAVE_DECODERS)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test_suffix") file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test_suffix")