From acc975d39f14c23e87732b77eaa2472bcd4809bb Mon Sep 17 00:00:00 2001 From: Ron Isaacson Date: Sun, 28 Jun 2020 01:21:06 -0400 Subject: [PATCH] Install packages in /usr, not /usr/local See: https://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/fhs.html. To comply with this guidance and the underlying FHS, packaged software should be installed in /usr, not /usr/local. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b694bdc4..01bedb3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,10 @@ project("SoftEther VPN" LANGUAGES C ) +if(UNIX) + set(CMAKE_INSTALL_PREFIX "/usr") +endif() + set(TOP_DIRECTORY ${CMAKE_SOURCE_DIR}) set(BUILD_DIRECTORY ${TOP_DIRECTORY}/build)