Update CMakeLists.txt

moved install syntax to target expected destinations
This commit is contained in:
Bruno S Marques 2023-10-10 12:12:05 -03:00 committed by GitHub
parent 7491beb381
commit 8655a87086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,10 @@ if(BUILD_SHARED_LIBS)
) )
endif() 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") install(FILES "${PROJECT_SOURCE_DIR}/include/D3D12MemAlloc.h" DESTINATION "include")
if(D3D12MA_BUILD_SAMPLE) if(D3D12MA_BUILD_SAMPLE)