93137c8b28
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
10 lines
224 B
CMake
10 lines
224 B
CMake
add_executable(badvpn-ncd-request
|
|
ncd-request.c
|
|
)
|
|
target_link_libraries(badvpn-ncd-request ncdrequest ncdvalgenerator ncdvalparser)
|
|
|
|
install(
|
|
TARGETS badvpn-ncd-request
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
)
|