Allow to crossbuild 32-bit library on 64-bit machine
authorUwe Bonnes <bon@hertz.ikp.physik.tu-darmstadt.de>
Tue, 29 Sep 2009 16:57:18 +0000 (18:57 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 3 Nov 2009 16:18:59 +0000 (17:18 +0100)
Toolchain-Crossbuild32.cmake [new file with mode: 0644]

diff --git a/Toolchain-Crossbuild32.cmake b/Toolchain-Crossbuild32.cmake
new file mode 100644 (file)
index 0000000..3c80dd8
--- /dev/null
@@ -0,0 +1,4 @@
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_C_COMPILER gcc -m32)
+set(CMAKE_CXX_COMPILER g++ -m32)
+set(CMAKE_FIND_ROOT_PATH /usr/lib)