Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 6d8f801

Browse files
committed
configure/cmake_linux.cmake: Fix CURL variable checking
It does not make sense to check if(A) ... elseif(A) ... endif() so let's change the elseif to an else.
1 parent 7944e94 commit 6d8f801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure/cmake_linux.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ if(CURL)
5353
COMMAND ${CURL} -v -T ${CPACK_PACKAGE_FILE_NAME}.deb -u$ENV{BINTRAY_USER_NAME}:$ENV{BINTRAY_API_KEY} \"https://api.bintray.com/content/tango-controls/debian/cppTango/${LIBRARY_VERSION}/pool/main/libt/${LINUX_FLAVOUR}/${CPACK_PACKAGE_FILE_NAME}.deb\;deb_distribution=${LINUX_FLAVOUR}\;deb_component=main\;deb_architecture=${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}\;publish=1\;override=1\"
5454
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
5555
DEPENDS ${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}.deb)
56-
elseif(CURL)
56+
else(CURL)
5757
message(WARNING "curl was not found deploy won't be possible")
5858
endif(CURL)

0 commit comments

Comments
 (0)