aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-30 07:09:29 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-30 07:09:29 +0000
commit13df2a878bed028c9745e7be7e4e20796ee44e84 (patch)
treed26e8c8cb57f70e37d5890f498db2f9d2e6e6c64 /wiretap
parent943e829e47fef1007afe46b0b1080df00d257cde (diff)
On Windows a shared library in divided into a DLL part (RUNTIME) and an import lib (ARCHIVE).
svn path=/trunk/; revision=29622
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/wiretap/CMakeLists.txt b/wiretap/CMakeLists.txt
index 80b334ad45..3936e3896b 100644
--- a/wiretap/CMakeLists.txt
+++ b/wiretap/CMakeLists.txt
@@ -81,8 +81,11 @@ add_yacc_files(WIRETAP_FILES
# add_dependency(ascend.c ascend_scanner_lex.h)
-add_library(wiretap SHARED
+add_library(wiretap SHARED
${WIRETAP_FILES}
)
-install(TARGETS wiretap LIBRARY DESTINATION lib)
+install(TARGETS wiretap
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION lib
+ ARCHIVE DESTINATION lib)