--- a/rpcapd/CMakeLists.txt | |
+++ b/rpcapd/CMakeLists.txt | |
@@ -136,7 +136,7 @@ | |
set(MANFILE_EXPAND rpcapd-config.manfile.in) | |
if(NOT MSVC) | |
- install(TARGETS rpcapd DESTINATION sbin) | |
+ install(TARGETS rpcapd DESTINATION ${CMAKE_INSTALL_BINDIR}) | |
else(NOT MSVC) | |
if(CMAKE_SIZEOF_VOID_P EQUAL 8) | |
install(TARGETS rpcapd DESTINATION bin/amd64) |