summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-02-21 11:55:24 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2019-02-21 11:04:38 +0000
commitb88110a3d7f795e91bff4ed73bd680ad8a364be0 (patch)
tree409d311c328614c66bf15cbd324d2338131917e2
parentd885226544c81f92ec897ff6fd08d84d2903d4a2 (diff)
cmake: fix a syntax for else
This amends d885226544c. Change-Id: Ia7b2fb6e0e762c73d3c0775cdd106c1dec646ab2 Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/corelib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt
index 5c35826cb1..66b4efa5e6 100644
--- a/src/corelib/CMakeLists.txt
+++ b/src/corelib/CMakeLists.txt
@@ -276,7 +276,7 @@ if (LINUX AND NOT CMAKE_CROSSCOMPILING AND BUILD_SHARED_LIBS)
)
if ("${readelf_ok}" STREQUAL "0" AND "${readelf_output}" MATCHES "program interpreter: (.*)]")
set(ELF_INTERPRETER "${CMAKE_MATCH_1}" CACHE INTERNAL "ELF interpreter location")
- else
+ else()
set(ELF_INTERPRETER "" CACHE INTERNAL "ELF interpreter location")
endif()
endif()