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