[cfe-commits] [libcxx] r173164 - /libcxx/trunk/CMakeLists.txt
Howard Hinnant
hhinnant at apple.com
Tue Jan 22 06:44:06 PST 2013
Author: hhinnant
Date: Tue Jan 22 08:44:06 2013
New Revision: 173164
URL: http://llvm.org/viewvc/llvm-project?rev=173164&view=rev
Log:
Saleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with libsupc++.
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=173164&r1=173163&r2=173164&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Tue Jan 22 08:44:06 2013
@@ -67,6 +67,7 @@
set(LIBCXX_TARGET_TRIPLE ${LIBCXX_TARGET_TRIPLE} CACHE STRING "Target triple.")
if ("${LIBCXX_CXX_ABI}" STREQUAL "libsupc++")
+ add_definitions(-D__GLIBCXX__)
set(LIBCXX_LIBSUPCXX_INCLUDE_PATHS "${LIBCXX_LIBSUPCXX_INCLUDE_PATHS}"
CACHE STRINGS
"Paths to libsupc++ include directories separate by ';'.")
More information about the cfe-commits
mailing list