Mercurial > archived > louis > epitech > mq > rathaxes
comparison maintainers_warn_about_ia32_libs_on_linux_x86_64.patch @ 49:0c55f24c6b3d
Add a series of patch related to the build systme
author | Louis Opter <louis@lse.epitech.net> |
---|---|
date | Sun, 15 Jan 2012 21:36:15 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
48:7b377e31fea3 | 49:0c55f24c6b3d |
---|---|
1 # HG changeset patch | |
2 # Parent 7d3f56a00874caf642896543ce43fe2bc59e8ef4 | |
3 maintainers: display a warning on Linux x86_64 about ia32-libs in the CodeWorker finder | |
4 | |
5 diff --git a/maintainers/CMakeScripts/FindCodeWorker.cmake b/maintainers/CMakeScripts/FindCodeWorker.cmake | |
6 --- a/maintainers/CMakeScripts/FindCodeWorker.cmake | |
7 +++ b/maintainers/CMakeScripts/FindCodeWorker.cmake | |
8 @@ -49,6 +49,9 @@ | |
9 SET(CODEWORKER_BINARY_PATH ${CODEWORKER_BINARY_PATH} CACHE FILEPATH "Path to the downloaded pre-built CodeWorker binary" FORCE) | |
10 IF (UNIX) | |
11 EXECUTE_PROCESS(COMMAND "chmod" "+x" "${CODEWORKER_BINARY_PATH}") | |
12 + IF (CMAKE_SYSTEM_NAME MATCHES "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") | |
13 + MESSAGE(STATUS "CodeWorker needs the 32bit compatability libraries (ia32-libs), make sure you have them!") | |
14 + ENDIF (CMAKE_SYSTEM_NAME MATCHES "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") | |
15 ENDIF (UNIX) | |
16 ELSE (${CODEWORKER_DL_RETURN} EQUAL 0) | |
17 SET(CODEWORKER_BINARY_PATH "") |