summaryrefslogtreecommitdiff
path: root/Modules/Compiler/XL-CXX.cmake
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:27 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:27 +0900
commitf7fbee1ce7e4f73a5a46681cf010a9ac85c3ad87 (patch)
treea0d779b32b006b5dbbc54a95cce0cd5d0309eebf /Modules/Compiler/XL-CXX.cmake
parent50e508f0913d5580aa156327527da3d29a66b90c (diff)
downloadcmake-f7fbee1ce7e4f73a5a46681cf010a9ac85c3ad87.tar.gz
cmake-f7fbee1ce7e4f73a5a46681cf010a9ac85c3ad87.tar.bz2
cmake-f7fbee1ce7e4f73a5a46681cf010a9ac85c3ad87.zip
Imported Upstream version 3.19.1upstream/3.19.1
Diffstat (limited to 'Modules/Compiler/XL-CXX.cmake')
-rw-r--r--Modules/Compiler/XL-CXX.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Compiler/XL-CXX.cmake b/Modules/Compiler/XL-CXX.cmake
index 3b911f3d6..41e3e1119 100644
--- a/Modules/Compiler/XL-CXX.cmake
+++ b/Modules/Compiler/XL-CXX.cmake
@@ -6,8 +6,6 @@ string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
# -qthreaded = Ensures that all optimizations will be thread-safe
string(APPEND CMAKE_CXX_FLAGS_INIT " -qthreaded")
-set(CMAKE_CXX_COMPILE_OPTIONS_EXPLICIT_LANGUAGE -+)
-
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10.1)
if(CMAKE_SYSTEM MATCHES "Linux")
set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "")
@@ -34,3 +32,6 @@ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10.1)
endif ()
__compiler_check_default_language_standard(CXX 10.1 98)
+
+set(CMAKE_CXX_COMPILE_OBJECT
+ "<CMAKE_CXX_COMPILER> -+ <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>")