summaryrefslogtreecommitdiffhomepage
path: root/external
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-13 08:47:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-13 08:49:59 +0100
commit3a01f720840e1a750f104703af01b3afbbe8f227 (patch)
tree422d82a4083e7884525bbb2c8537c85f063ac12f /external
parent2fdf274092556eb0ec96f5e20cfe364549f59485 (diff)
external: don't silence the first time configure is run
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
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)