From ea304937f1fc0852917129607be9c882e8484e9f Mon Sep 17 00:00:00 2001 From: Ziemas Date: Fri, 22 Jul 2022 00:12:16 +0200 Subject: [PATCH] Exclude unnecessary third-party build targets (#1694) --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e430f3de55..6e672792ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,19 +151,19 @@ add_subdirectory(common) add_subdirectory(decompiler) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${THIRDPARTY_IGNORED_WARNINGS} ") -add_subdirectory(third-party/cubeb) +add_subdirectory(third-party/cubeb EXCLUDE_FROM_ALL) # build LSP add_subdirectory(lsp) # build glfw library -add_subdirectory(third-party/glfw) -add_subdirectory(third-party/zstd) +add_subdirectory(third-party/glfw EXCLUDE_FROM_ALL) +add_subdirectory(third-party/zstd EXCLUDE_FROM_ALL) # build imgui include_directories(third-party/glad/include) include_directories(third-party/glfw/include) -add_subdirectory(third-party/imgui) +add_subdirectory(third-party/imgui EXCLUDE_FROM_ALL) string(REPLACE " ${THIRDPARTY_IGNORED_WARNINGS} " "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") # build the game code in C++