Mercurial > hg > orthanc
comparison Resources/LinuxStandardBaseToolchain.cmake @ 580:d798274c1601
integration laaw->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Sep 2013 17:39:45 +0200 |
parents | ded40a9e8cc8 |
children | 862d943115f9 |
comparison
equal
deleted
inserted
replaced
563:c5f1986d9ddc | 580:d798274c1601 |
---|---|
9 | 9 |
10 message("Using the following Linux Standard Base: ${LSB_PATH}") | 10 message("Using the following Linux Standard Base: ${LSB_PATH}") |
11 | 11 |
12 IF (EXISTS ${LSB_PATH}/lib64) | 12 IF (EXISTS ${LSB_PATH}/lib64) |
13 SET(LSB_TARGET_PROCESSOR "x86_64") | 13 SET(LSB_TARGET_PROCESSOR "x86_64") |
14 SET(LSB_LIBPATH ${LSB_PATH}/lib64-${LSB_TARGET_VERSION}) | |
14 ELSEIF (EXISTS ${LSB_PATH}/lib) | 15 ELSEIF (EXISTS ${LSB_PATH}/lib) |
15 SET(LSB_TARGET_PROCESSOR "x86") | 16 SET(LSB_TARGET_PROCESSOR "x86") |
17 SET(LSB_LIBPATH ${LSB_PATH}/lib-${LSB_TARGET_VERSION}) | |
16 ELSE() | 18 ELSE() |
17 MESSAGE(FATAL_ERROR "Unable to detect the target processor architecture. Check the LSB_PATH environment variable.") | 19 MESSAGE(FATAL_ERROR "Unable to detect the target processor architecture. Check the LSB_PATH environment variable.") |
18 ENDIF() | 20 ENDIF() |
19 | 21 |
20 SET(LSB_CPPPATH ${LSB_PATH}/include) | 22 SET(LSB_CPPPATH ${LSB_PATH}/include) |
21 SET(LSB_LIBPATH ${LSB_PATH}/lib-${LSB_TARGET_VERSION}) | |
22 SET(PKG_CONFIG_PATH ${LSB_LIBPATH}/pkgconfig/) | 23 SET(PKG_CONFIG_PATH ${LSB_LIBPATH}/pkgconfig/) |
23 | 24 |
24 # the name of the target operating system | 25 # the name of the target operating system |
25 SET(CMAKE_SYSTEM_NAME Linux) | 26 SET(CMAKE_SYSTEM_NAME Linux) |
26 SET(CMAKE_SYSTEM_VERSION LinuxStandardBase) | 27 SET(CMAKE_SYSTEM_VERSION LinuxStandardBase) |