From 6c77dd84e85ff3e0c9fcaa39c761c59e2835c6ce Mon Sep 17 00:00:00 2001 From: "Jens K. Mueller" Date: Mon, 20 Sep 2010 17:45:40 +0200 Subject: [PATCH] Add '-m32' to properly link app_4 and app_5 on 64bit --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7630645..269e790 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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.