Skip to content

Commit dcb5cf6

Browse files
committed
fix(tests CMakeLists.txt): fix if logic
1 parent 17756b4 commit dcb5cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ elseif(LT_CAL STREQUAL "mbedtls_v4")
150150
add_subdirectory("${PATH_DEPS}/mbedtls_v4/" "mbedtls_v4")
151151

152152
target_link_libraries(tropic PUBLIC mbedtls)
153+
endif()
153154
elseif(LT_CAL STREQUAL "openssl")
154155
message(STATUS "Crypto provider set to openssl")
155156
add_subdirectory("${PATH_LIBTROPIC}/cal/openssl" "openssl_cal")
@@ -160,7 +161,6 @@ elseif(LT_CAL STREQUAL "openssl")
160161

161162
find_package(OpenSSL REQUIRED)
162163
target_link_libraries(tropic PUBLIC OpenSSL::Crypto)
163-
endif()
164164
else()
165165
get_property(lt_cal_choices CACHE LT_CAL PROPERTY STRINGS)
166166
message(FATAL_ERROR "Incorrect CAL set to LT_CAL!\nSupported CALs: ${lt_cal_choices}")

0 commit comments

Comments
 (0)