From 9571f4647b5b088e6d8d5dc4c3280b4117eaed88 Mon Sep 17 00:00:00 2001 From: crocdialer Date: Tue, 2 Jul 2024 13:43:58 +0200 Subject: [PATCH] Add ARCHIVE DESTINATION for static library target --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0cec16..e0181c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,8 @@ if(SPIRV_REFLECT_STATIC_LIB) target_include_directories(spirv-reflect-static PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) - install(TARGETS spirv-reflect-static LIBRARY DESTINATION lib) + install(TARGETS spirv-reflect-static + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) endif()