From 8655a870865d571991b5454b9078ddb1bc7edd65 Mon Sep 17 00:00:00 2001 From: Bruno S Marques Date: Tue, 10 Oct 2023 12:12:05 -0300 Subject: [PATCH] Update CMakeLists.txt moved install syntax to target expected destinations --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8161943..7d8d42f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,7 +44,10 @@ if(BUILD_SHARED_LIBS) ) endif() -install(TARGETS D3D12MemoryAllocator DESTINATION "lib") +install(TARGETS D3D12MemoryAllocator + RUNTIME DESTINATION "bin" + ARCHIVE DESTINATION "lib" + LIBRARY DESTINATION "lib") install(FILES "${PROJECT_SOURCE_DIR}/include/D3D12MemAlloc.h" DESTINATION "include") if(D3D12MA_BUILD_SAMPLE)