badvpn/flooder/CMakeLists.txt
Julian Ospald 93137c8b28
Use GNUInstallDirs for controlling install destinations
This allows proper control over install destinations, especially
when 'bin' has a different prefix than 'share', e.g.:
* /usr/x86_64-pc-linux-gnu/bin/
* /usr/share
2016-05-24 18:47:06 +02:00

8 lines
227 B
CMake

add_executable(badvpn-flooder flooder.c)
target_link_libraries(badvpn-flooder system flow server_conection ${NSPR_LIBRARIES} ${NSS_LIBRARIES})
install(
TARGETS badvpn-flooder
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)