From 3a01f720840e1a750f104703af01b3afbbe8f227 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 13 Nov 2022 08:47:37 +0100 Subject: external: don't silence the first time configure is run --- external/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'external') diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 102dee88..b5994db1 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -229,7 +229,9 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES) endfunction() function(fm_add_libs) - set(fm-quiet-message 1) + if(fm-external-configured) + set(fm-quiet-message 1) + endif() if(MAGNUM_BUILD_TESTS OR CORRADE_BUILD_TESTS AND NOT DEFINED CORRADE_TESTSUITE_TEST_TARGET) sets(STRING CORRADE_TESTSUITE_TEST_TARGET corrade-test) endif() @@ -260,7 +262,9 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES) fm_run_hook(fm-userconfig-external) endif() -set(fm-quiet-message 1) +if(fm-external-configured) + set(fm-quiet-message 1) +endif() find_package(SDL2 QUIET REQUIRED) find_package(Corrade QUIET REQUIRED) find_package(ImGui QUIET REQUIRED) @@ -274,3 +278,4 @@ endif() fm_run_hook(fm-userconfig-external-post) set(fm-quiet-message 0) +sets(INTERNAL fm-external-configured 1) -- cgit v1.2.3