cmake: lib vs lib64 handling for simgear
simgear now always uses CMAKE_INSTALL_LIBDIR for lib installation, so also use that when searching.
This commit is contained in:
parent
ebcc6359b9
commit
90c5c9f87a
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ FIND_LIBRARY(SIMGEAR_LIBRARIES
|
||||||
NAMES simgear SimGear
|
NAMES simgear SimGear
|
||||||
HINTS
|
HINTS
|
||||||
$ENV{SIMGEAR_DIR}
|
$ENV{SIMGEAR_DIR}
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} libs64 libs libs/Win32 libs/Win64
|
||||||
PATHS
|
PATHS
|
||||||
~/Library/Frameworks
|
~/Library/Frameworks
|
||||||
/Library/Frameworks
|
/Library/Frameworks
|
||||||
|
@ -75,7 +75,7 @@ macro(find_sg_component comp libs)
|
||||||
FIND_LIBRARY(${compLibName}_DEBUG
|
FIND_LIBRARY(${compLibName}_DEBUG
|
||||||
NAMES ${compLib}${CMAKE_DEBUG_POSTFIX}
|
NAMES ${compLib}${CMAKE_DEBUG_POSTFIX}
|
||||||
HINTS $ENV{SIMGEAR_DIR}
|
HINTS $ENV{SIMGEAR_DIR}
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} libs64 libs libs/Win32 libs/Win64
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local
|
/usr/local
|
||||||
/usr
|
/usr
|
||||||
|
@ -84,7 +84,7 @@ macro(find_sg_component comp libs)
|
||||||
FIND_LIBRARY(${compLibName}_RELEASE
|
FIND_LIBRARY(${compLibName}_RELEASE
|
||||||
NAMES ${compLib}${CMAKE_RELEASE_POSTFIX}
|
NAMES ${compLib}${CMAKE_RELEASE_POSTFIX}
|
||||||
HINTS $ENV{SIMGEAR_DIR}
|
HINTS $ENV{SIMGEAR_DIR}
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} libs64 libs libs/Win32 libs/Win64
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local
|
/usr/local
|
||||||
/usr
|
/usr
|
||||||
|
|
Loading…
Reference in a new issue