mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:31:48 +08:00
24 lines
624 B
Diff
24 lines
624 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9f4aa71..94edd95 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -201,9 +201,16 @@ endif()
|
|
if(NANODBC_INSTALL)
|
|
install(FILES src/nanodbc.h DESTINATION include)
|
|
if(NANODBC_STATIC)
|
|
- install(TARGETS nanodbc ARCHIVE DESTINATION lib)
|
|
+ install(
|
|
+ TARGETS nanodbc
|
|
+ ARCHIVE DESTINATION lib
|
|
+ LIBRARY DESTINATION lib)
|
|
else()
|
|
- install(TARGETS nanodbc LIBRARY DESTINATION lib)
|
|
+ install(
|
|
+ TARGETS nanodbc
|
|
+ ARCHIVE DESTINATION lib
|
|
+ LIBRARY DESTINATION lib
|
|
+ RUNTIME DESTINATION bin)
|
|
endif()
|
|
message(STATUS "Target install: Turned on")
|
|
else()
|