diff --git a/cmake_modules/SwiftenConfig.cmake b/cmake_modules/SwiftenConfig.cmake index 0d677fcd61ac9e0c1af4e7b2fe64acc9de2407ae..34217b3a7fd87100b8bebee1551a2038e41db8ef 100644 --- a/cmake_modules/SwiftenConfig.cmake +++ b/cmake_modules/SwiftenConfig.cmake @@ -5,11 +5,6 @@ if( SWIFTEN_LIBRARY AND SWIFTEN_INCLUDE_DIR ) find_program(SWIFTEN_CONFIG_EXECUTABLE NAMES swiften-config DOC "swiften-config executable" HINTS ../bin) set( SWIFTEN_CFLAGS "" ) if (SWIFTEN_CONFIG_EXECUTABLE) - execute_process( - COMMAND ${SWIFTEN_CONFIG_EXECUTABLE} --version - OUTPUT_VARIABLE SWIFTEN_VERSION) - string(REGEX MATCH "([0-9])" SWIFTEN_VERSION "${SWIFTEN_VERSION}") - message(STATUS "Swiften version ${SWIFTEN_VERSION}") execute_process( COMMAND ${SWIFTEN_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE SWIFTEN_LIB)