aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2014-07-09 14:39:41 +0100
committerGraham Bloice <graham.bloice@trihedral.com>2014-07-15 20:37:44 +0000
commit9ba0a18d1294b2b1b61fbdb5b6ed5b38a2cc3a97 (patch)
treedb61d7bb8f26f5e7f44eb5caf657a6c6f3ab1ff5 /epan
parent480089435746411ac973cc2d3146be6f7317ec5f (diff)
Fix up library names when using CMake on Windows
Change-Id: I3573e69eb54044bb915161756dbb8f18cc769061 Reviewed-on: https://code.wireshark.org/review/2957 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/CMakeLists.txt b/epan/CMakeLists.txt
index 3155663b19..048b8a7661 100644
--- a/epan/CMakeLists.txt
+++ b/epan/CMakeLists.txt
@@ -1730,8 +1730,11 @@ add_custom_command(OUTPUT libwireshark.abi.tar.gz
# By default the name for a library with target name epan will be libepan,
# but Ethereal is now named Wireshark
-SET_TARGET_PROPERTIES(epan PROPERTIES OUTPUT_NAME "wireshark")
-set_target_properties(epan PROPERTIES FOLDER "DLLs")
+SET_TARGET_PROPERTIES(epan PROPERTIES
+ OUTPUT_NAME "wireshark"
+ PREFIX "lib"
+ FOLDER "DLLs"
+)
target_link_libraries(epan ${epan_LIBS})