diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2018-08-21 22:23:46 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2018-08-23 08:33:56 +0000 |
commit | f0b41190eb965ac7c9b0084806f5797dc5ef7c8f (patch) | |
tree | 4ad2bebfde95145b7a783d925fb277ea15ee0b7a /extcap | |
parent | 0c0973196fb02e340732f0c4722ed50325a7fbf9 (diff) |
CMake: Clean up and homogenize plugin dir configuration
Change-Id: If43c7b124afdf6471164675f8a0c55a76e998ea1
Reviewed-on: https://code.wireshark.org/review/29254
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extcap/CMakeLists.txt b/extcap/CMakeLists.txt index 0e8c95d69e..5ed2f7fcd3 100644 --- a/extcap/CMakeLists.txt +++ b/extcap/CMakeLists.txt @@ -99,7 +99,7 @@ if(BUILD_androiddump) # XXX Shouldn't we add wsutil to androiddump_LIBS instead? set_extcap_executable_properties(androiddump) target_link_libraries(androiddump ${androiddump_LIBS}) - install(TARGETS androiddump RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS androiddump RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps androiddump) endif() @@ -120,7 +120,7 @@ if(BUILD_sshdump AND LIBSSH_FOUND) set_extcap_executable_properties(sshdump) target_link_libraries(sshdump ${sshdump_LIBS}) target_include_directories(sshdump PUBLIC ${LIBSSH_INCLUDE_DIR}) - install(TARGETS sshdump RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS sshdump RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps sshdump) elseif (BUILD_sshdump) #message( WARNING "Cannot find libssh, cannot build sshdump" ) @@ -144,7 +144,7 @@ if(BUILD_ciscodump AND LIBSSH_FOUND) set_extcap_executable_properties(ciscodump) target_link_libraries(ciscodump ${ciscodump_LIBS}) target_include_directories(ciscodump PUBLIC ${LIBSSH_INCLUDE_DIR}) - install(TARGETS ciscodump RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS ciscodump RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps ciscodump) elseif (BUILD_ciscodump) #message( WARNING "Cannot find libssh, cannot build ciscodump" ) @@ -167,7 +167,7 @@ if(BUILD_dpauxmon AND HAVE_LIBNL3) set_extcap_executable_properties(dpauxmon) target_link_libraries(dpauxmon ${dpauxmon_LIBS}) target_include_directories(dpauxmon PUBLIC ${NL_INCLUDE_DIR}) - install(TARGETS dpauxmon RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS dpauxmon RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps dpauxmon) elseif (BUILD_dpauxmon) #message( WARNING "Cannot find libnl3, cannot build dpauxmon" ) @@ -188,7 +188,7 @@ if(BUILD_udpdump) add_executable(udpdump WIN32 ${udpdump_FILES}) set_extcap_executable_properties(udpdump) target_link_libraries(udpdump ${udpdump_LIBS}) - install(TARGETS udpdump RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS udpdump RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps udpdump) endif() @@ -210,7 +210,7 @@ if(BUILD_randpktdump) # XXX Shouldn't we add wsutil to randpktdump_LIBS instead? set_extcap_executable_properties(randpktdump) target_link_libraries(randpktdump ${randpktdump_LIBS}) - install(TARGETS randpktdump RUNTIME DESTINATION ${EXTCAP_DIR}) + install(TARGETS randpktdump RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR}) add_dependencies(extcaps randpktdump) endif() @@ -219,4 +219,4 @@ set(CLEAN_C_FILES ${androiddump_FILES} ${sshdump_FILES} ${ciscodump_FILES} -)
\ No newline at end of file +) |