Mercurial > vanilla
comparison graphics/glbinding/patch-fhs.patch @ 817:0e6c54d47dfb
vanilla: fix many FHS issues
While here, remove libtool files in a generic manner to avoid stale files.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 21 Aug 2019 09:04:13 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
816:be3a5b2d9a09 | 817:0e6c54d47dfb |
---|---|
1 --- CMakeLists.txt.orig 2019-08-20 11:15:39.208336736 +0200 | |
2 +++ CMakeLists.txt 2019-08-20 11:16:40.760338627 +0200 | |
3 @@ -130,16 +130,13 @@ | |
4 set(project ${META_PROJECT_NAME}) | |
5 | |
6 # Check for system dir install | |
7 -set(SYSTEM_DIR_INSTALL FALSE) | |
8 -if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr" OR "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local") | |
9 - set(SYSTEM_DIR_INSTALL TRUE) | |
10 -endif() | |
11 +set(SYSTEM_DIR_INSTALL TRUE) | |
12 | |
13 # Installation paths | |
14 if(UNIX AND SYSTEM_DIR_INSTALL) | |
15 # Install into the system (/usr/bin or /usr/local/bin) | |
16 set(INSTALL_ROOT "share/${project}") # /usr/[local]/share/<project> | |
17 - set(INSTALL_CMAKE "share/${project}/cmake") # /usr/[local]/share/<project>/cmake | |
18 + set(INSTALL_CMAKE "lib/cmake") # /usr/[local]/share/<project>/cmake | |
19 set(INSTALL_EXAMPLES "share/${project}") # /usr/[local]/share/<project> | |
20 set(INSTALL_DATA "share/${project}") # /usr/[local]/share/<project> | |
21 set(INSTALL_BIN "bin") # /usr/[local]/bin |