Use GnuInstallDirs module for cmake install paths
This commit is contained in:
parent
81a1da6a59
commit
27a4c83ebc
11 changed files with 41 additions and 80 deletions
|
@ -71,7 +71,7 @@ endif()
|
|||
|
||||
# set pkgconfig install directory
|
||||
# this could be e.g. macports on mac or msys2 on windows etc.
|
||||
set(SFML_PKGCONFIG_DIR "/lib${LIB_SUFFIX}/pkgconfig")
|
||||
set(SFML_PKGCONFIG_DIR "/${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
|
||||
if(SFML_OS_FREEBSD OR SFML_OS_OPENBSD)
|
||||
set(SFML_PKGCONFIG_DIR "/libdata/pkgconfig")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue