CMake: change ${CMAKE_SOURCE_DIR}/tmp with ${CMAKE_BINARY_DIR}

This commit is contained in:
Ilya Shipitsin committed 2018-10-24 23:47:17 +05:00
1 parent b34d036647
commit 97393bbe45
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ install(FILES "${BUILD_DIRECTORY}/hamcore.se2"
install_wrapper_script("vpnclient" "${CMAKE_INSTALL_FULL_LIBEXECDIR}/softether/vpnclient/vpnclient")
if(EXISTS "/lib/systemd/system")
configure_file(${CMAKE_SOURCE_DIR}/systemd/softether-vpnclient.service ${CMAKE_SOURCE_DIR}/tmp/systemd/softether-vpnclient.service)
install(FILES ${CMAKE_SOURCE_DIR}/tmp/systemd/softether-vpnclient.service
configure_file(${CMAKE_SOURCE_DIR}/systemd/softether-vpnclient.service ${CMAKE_BINARY_DIR}/systemd/softether-vpnclient.service)
install(FILES ${CMAKE_BINARY_DIR}/systemd/softether-vpnclient.service
COMPONENT "vpnclient"
DESTINATION "/lib/systemd/system"
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ