From ee133ce0ebe5b406c5749ae4e64d49eb24d16d42 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 22 Jan 2021 03:08:32 +0200 Subject: [PATCH] kuassel: replace cmake_push_check_state() and cmake_pop_check_state() with cmake_reset_check_state() Signed-off-by: Ivailo Monev --- kuassel/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kuassel/CMakeLists.txt b/kuassel/CMakeLists.txt index 5352e5aa..d85c5847 100644 --- a/kuassel/CMakeLists.txt +++ b/kuassel/CMakeLists.txt @@ -94,7 +94,7 @@ set_package_properties(ExecInfo PROPERTIES # Check for SSL support in Qt # As there's no easy way to get Qt's configuration in particular for Qt5, let's just compile # a small test program checking the defines. This works for both Qt4 and Qt5. -cmake_push_check_state(RESET) +cmake_reset_check_state() set(CMAKE_REQUIRED_INCLUDES ${QT_INCLUDES}) check_cxx_source_compiles(" #include \"qglobal.h\" @@ -103,7 +103,7 @@ check_cxx_source_compiles(" #endif int main() {}" HAVE_SSL) -cmake_pop_check_state() +cmake_reset_check_state() if (HAVE_SSL) add_definitions(-DHAVE_SSL) -- 2.11.0