aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpm/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/mpm/CMakeLists.txt b/mpm/CMakeLists.txt
index 35330cd39..0d7f33049 100644
--- a/mpm/CMakeLists.txt
+++ b/mpm/CMakeLists.txt
@@ -136,7 +136,14 @@ TARGET_LINK_LIBRARIES(usrp-periphs
udev
${Boost_LIBRARIES}
)
-INSTALL(TARGETS usrp-periphs LIBRARY DESTINATION ${LIBRARY_DIR} COMPONENT libraries)
+
+IF(WIN32)
+ SET(DESTINATION_KEYWORD RUNTIME)
+ELSE()
+ SET(DESTINATION_KEYWORD LIBRARY)
+ENDIF()
+INSTALL(TARGETS usrp-periphs ${DESTINATION_KEYWORD} DESTINATION ${LIBRARY_DIR} COMPONENT libraries)
+
SET(USRP_PERIPHS_MAJOR 0)
SET(USRP_PERIPHS_MINOR 1)
SET(USRP_PERIPHS_PATCH 0)