2024-02-08 14:45:01 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-09-01 14:03:18 +08:00
|
|
|
index e99fb143..0f69adf7 100644
|
2024-02-08 14:45:01 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-09-01 14:03:18 +08:00
|
|
|
@@ -1071,10 +1071,10 @@ endif()
|
2024-02-08 14:45:01 +08:00
|
|
|
if((KTX_FEATURE_TOOLS OR KTX_FEATURE_TESTS) AND NOT TARGET fmt::fmt)
|
2024-09-01 14:03:18 +08:00
|
|
|
set(FMT_INSTALL OFF)
|
2024-02-08 14:45:01 +08:00
|
|
|
set(FMT_SYSTEM_HEADERS ON)
|
|
|
|
- add_subdirectory(other_projects/fmt)
|
|
|
|
+ find_package(fmt CONFIG REQUIRED)
|
|
|
|
endif()
|
|
|
|
if(KTX_FEATURE_TOOLS AND NOT TARGET cxxopts::cxxopts)
|
|
|
|
- add_subdirectory(other_projects/cxxopts)
|
|
|
|
+ find_package(cxxopts CONFIG REQUIRED)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Tools
|