From 846b058f73b8dc4e697f6decce71f5d24a112614 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 21 Feb 2007 11:45:38 -0500 Subject: [PATCH] ENH: force c++ when building c++ objects --- Modules/Platform/AIX.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index b83a9b6a4..f7d93a960 100644 --- a/Modules/Platform/AIX.cmake +++ b/Modules/Platform/AIX.cmake @@ -38,6 +38,8 @@ IF(NOT CMAKE_COMPILER_IS_GNUCC) ENDIF(NOT CMAKE_COMPILER_IS_GNUCC) IF(NOT CMAKE_COMPILER_IS_GNUCXX) + SET(CMAKE_CXX_COMPILE_OBJECT + " -+ -o -c ") SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)