From 080c1bb4818ac7de02b7fdd6a09dbcc84bdbb459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= Date: Sun, 3 Dec 2023 18:02:03 +0100 Subject: [PATCH] Try to disable testing for deps --- src/ui/cmake/Dependencies.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/cmake/Dependencies.cmake b/src/ui/cmake/Dependencies.cmake index 3a7a5d9c..96f00c0d 100644 --- a/src/ui/cmake/Dependencies.cmake +++ b/src/ui/cmake/Dependencies.cmake @@ -1,5 +1,8 @@ include(FetchContent) +set(SAVED_ENABLE_TESTING ${ENABLE_TESTING}) +set(EMABLE_TESTING FALSE) + FetchContent_Declare( imgui GIT_REPOSITORY https://github.com/ocornut/imgui.git @@ -127,3 +130,5 @@ target_include_directories(stb INTERFACE ${stb_SOURCE_DIR}) add_library(plf_colony INTERFACE) target_include_directories(plf_colony INTERFACE ${plf_colony_SOURCE_DIR}) + +set(EMABLE_TESTING ${SAVED_ENABLE_TESTING})