diff --git a/CMakeLists.txt b/CMakeLists.txt index d203f23..e0deb42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ include(CMakePackageConfigHelpers) project(usvfs) set_property(GLOBAL PROPERTY USE_FOLDERS ON) +set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) set(CMAKE_CXX_STANDARD 20) set(USVFS_BINDIR ${CMAKE_CURRENT_LIST_DIR}/bin) diff --git a/src/usvfs_dll/CMakeLists.txt b/src/usvfs_dll/CMakeLists.txt index c5fdef0..2520b50 100644 --- a/src/usvfs_dll/CMakeLists.txt +++ b/src/usvfs_dll/CMakeLists.txt @@ -49,7 +49,7 @@ set_target_properties(usvfs_dll RUNTIME_OUTPUT_DIRECTORY_RELEASE ${USVFS_LIBDIR}) install(TARGETS usvfs_dll EXPORT usvfs${ARCH_POSTFIX}Targets FILE_SET HEADERS) -install(FILES $ DESTINATION lib OPTIONAL) +install(FILES $ DESTINATION pdb OPTIONAL) install(EXPORT usvfs${ARCH_POSTFIX}Targets FILE usvfs${ARCH_POSTFIX}Targets.cmake NAMESPACE usvfs${ARCH_POSTFIX}:: diff --git a/src/usvfs_proxy/CMakeLists.txt b/src/usvfs_proxy/CMakeLists.txt index b67d913..47614ee 100644 --- a/src/usvfs_proxy/CMakeLists.txt +++ b/src/usvfs_proxy/CMakeLists.txt @@ -12,4 +12,4 @@ set_target_properties(usvfs_proxy ) install(TARGETS usvfs_proxy EXPORT usvfs${ARCH_POSTFIX}Targets) -install(FILES $ DESTINATION lib OPTIONAL) +install(FILES $ DESTINATION pdb OPTIONAL)