msys2 support

This commit is contained in:
2024-01-30 13:23:14 -06:00
parent 99533a9687
commit 4089fca87c
10 changed files with 115 additions and 27 deletions

View File

@ -2,10 +2,16 @@ option(REPERTORY_ENABLE_TESTING "Enable testing" ON)
option(REPERTORY_ENABLE_S3 "Enable S3 mount support" OFF)
if (REPERTORY_ENABLE_S3)
set(REPERTORY_DEFINITIONS ${REPERTORY_DEFINITIONS} -DREPERTORY_ENABLE_S3)
set(REPERTORY_DEFINITIONS
${REPERTORY_DEFINITIONS}
-DREPERTORY_ENABLE_S3
)
option(REPERTORY_ENABLE_S3_TESTING "Enable S3 unit tests" OFF)
if (REPERTORY_ENABLE_S3_TESTING)
set(REPERTORY_DEFINITIONS ${REPERTORY_DEFINITIONS} -DREPERTORY_ENABLE_S3_TESTING)
set(REPERTORY_DEFINITIONS
${REPERTORY_DEFINITIONS}
-DREPERTORY_ENABLE_S3_TESTING
)
endif ()
endif()