summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-01-29 23:47:37 -0500
committerGlenn Smith <glenn@vector35.com>2024-01-29 23:47:37 -0500
commit9971495562746036832938073515574611535345 (patch)
tree10b6b7c4410de4a74ba44b4a5a10c0dab059a783
parent172511fabc0c94d249a52f6bc117772d91e438ae (diff)
CMake: Include fmt with EXCLUDE_FROM_ALL to prevent installation
Fixes Vector35/binaryninja-api#4984
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d48aa8f..cb942d19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,7 @@ target_link_libraries(binaryninjaapi PUBLIC ${BinaryNinjaCore_LIBRARIES})
target_link_directories(binaryninjaapi PUBLIC ${BinaryNinjaCore_LIBRARY_DIRS})
target_compile_definitions(binaryninjaapi PUBLIC ${BinaryNinjaCore_DEFINITIONS})
-add_subdirectory(vendor/fmt)
+add_subdirectory(vendor/fmt EXCLUDE_FROM_ALL)
set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_link_libraries(binaryninjaapi PUBLIC fmt::fmt)