diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-21 16:45:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-21 16:45:38 (GMT) |
commit | 846b058f73b8dc4e697f6decce71f5d24a112614 (patch) | |
tree | 4f37d1337faf6f721ccde275e7eaf4461ceb257c /Modules/Platform/AIX.cmake | |
parent | d7b5020a2e9deb4f2c74330263d9243a40da25e6 (diff) | |
download | CMake-846b058f73b8dc4e697f6decce71f5d24a112614.zip CMake-846b058f73b8dc4e697f6decce71f5d24a112614.tar.gz CMake-846b058f73b8dc4e697f6decce71f5d24a112614.tar.bz2 |
ENH: force c++ when building c++ objects
Diffstat (limited to 'Modules/Platform/AIX.cmake')
-rw-r--r-- | Modules/Platform/AIX.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index b83a9b6..f7d93a9 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 + "<CMAKE_CXX_COMPILER> -+ <FLAGS> -o <OBJECT> -c <SOURCE>") SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) |