diff options
author | Jörg Mayer <jmayer@loplof.de> | 2010-03-18 10:27:17 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2010-03-18 10:27:17 +0000 |
commit | 96779de920fa5f308f29c35dce54d48e5d19b670 (patch) | |
tree | 447b5cb2f49d91c4f87cd170ac0fe6f6b032117a /epan/wslua/CMakeLists.txt | |
parent | 1e0bcd0740f5c3f71a6e194d0f09deef0489d53d (diff) |
cmake changes:
- Add checking for linker flags
- Install plugins with the name including the Wireshark version.
This will make it easier to find matching plugin versions if
files get just copied over.
svn path=/trunk/; revision=32231
Diffstat (limited to 'epan/wslua/CMakeLists.txt')
-rw-r--r-- | epan/wslua/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/wslua/CMakeLists.txt b/epan/wslua/CMakeLists.txt index b9c1a42029..c1dacd8a3e 100644 --- a/epan/wslua/CMakeLists.txt +++ b/epan/wslua/CMakeLists.txt @@ -122,16 +122,17 @@ set(wslua_LIBS ${LUA_LIBRARIES} ) -add_library(wslua STATIC - ${WSLUA_FILES} -) - add_custom_target( wsluaauxiliary ALL DEPENDS init.lua ) +add_library(wslua STATIC + ${WSLUA_FILES} +) +set_target_properties(wslua PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS}) + target_link_libraries(wslua ${wslua_LIBS}) install( |