Mercurial > archived > louis > epitech > mq > rathaxes
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maintainers_warn_about_ia32_libs_on_linux_x86_64.patch Sun Jan 15 21:36:15 2012 +0100 @@ -0,0 +1,17 @@ +# HG changeset patch +# Parent 7d3f56a00874caf642896543ce43fe2bc59e8ef4 +maintainers: display a warning on Linux x86_64 about ia32-libs in the CodeWorker finder + +diff --git a/maintainers/CMakeScripts/FindCodeWorker.cmake b/maintainers/CMakeScripts/FindCodeWorker.cmake +--- a/maintainers/CMakeScripts/FindCodeWorker.cmake ++++ b/maintainers/CMakeScripts/FindCodeWorker.cmake +@@ -49,6 +49,9 @@ + SET(CODEWORKER_BINARY_PATH ${CODEWORKER_BINARY_PATH} CACHE FILEPATH "Path to the downloaded pre-built CodeWorker binary" FORCE) + IF (UNIX) + EXECUTE_PROCESS(COMMAND "chmod" "+x" "${CODEWORKER_BINARY_PATH}") ++ IF (CMAKE_SYSTEM_NAME MATCHES "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") ++ MESSAGE(STATUS "CodeWorker needs the 32bit compatability libraries (ia32-libs), make sure you have them!") ++ ENDIF (CMAKE_SYSTEM_NAME MATCHES "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") + ENDIF (UNIX) + ELSE (${CODEWORKER_DL_RETURN} EQUAL 0) + SET(CODEWORKER_BINARY_PATH "")