Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5dbb15a3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Add missing endif(), remove deprecated args in closing conditionals

parent a55b13c3
......@@ -34,7 +34,7 @@
if(LIBFWUPD_INCLUDE_DIRS AND LIBFWUPD_LIBRARIES)
set(LIBFWUPD_FOUND TRUE)
else (LIBFWUPD_INCLUDE_DIRS AND LIBFWUPD_LIBRARIES)
else ()
find_library (LIBFWUPD_LIBRARIES
NAMES fwupd libfwupd
......@@ -48,8 +48,8 @@ else (LIBFWUPD_INCLUDE_DIRS AND LIBFWUPD_LIBRARIES)
if(LIBFWUPD_INCLUDE_DIRS AND LIBFWUPD_LIBRARIES)
set(LIBFWUPD_FOUND TRUE)
endif (LIBFWUPD_INCLUDE_DIRS AND LIBFWUPD_LIBRARIES)
endif()
endif()
if (LIBFWUPD_FOUND)
add_library(LIBFWUPD SHARED IMPORTED)
......@@ -57,4 +57,4 @@ if (LIBFWUPD_FOUND)
INTERFACE_INCLUDE_DIRECTORIES ${LIBFWUPD_INCLUDE_DIRS}
IMPORTED_LOCATION ${LIBFWUPD_LIBRARIES}
)
endif (LIBFWUPD_FOUND)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment