Add '-m32' to properly link app_4 and app_5 on 64bit

This commit is contained in:
Jens K. Mueller 2010-09-20 17:45:40 +02:00
parent f99f27e8ff
commit 6c77dd84e8

View file

@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.1)
# is fine.
PROJECT (CMAKED2_TESTS C D )
SET( GLOBAL_DMD_DEFS "-w -wi" )
SET( GLOBAL_GCC_DEFS "-Wall -pedantic" )
SET( GLOBAL_GCC_DEFS "-Wall -pedantic -m32" )
# Don't use ADD_DEFINITIONS() with a mixed C + D project
# since that adds the same flags to both C and D builds.