@ -284,8 +284,9 @@ if (ENABLE_OBJCXX)
if ( NOT CXX_RUNTIME )
if ( NOT CXX_RUNTIME )
test_cxx ( supc++ false )
test_cxx ( supc++ false )
endif ( NOT CXX_RUNTIME )
endif ( NOT CXX_RUNTIME )
# l i b c + + a b i d o e s n o t c u r r e n t l y w o r k , d o n ' t t r y i t .
if ( NOT CXX_RUNTIME )
if ( NOT CXX_RUNTIME )
test_cxx ( c++abi false )
# test_cxx ( c++abi false )
endif ( NOT CXX_RUNTIME )
endif ( NOT CXX_RUNTIME )
# I f w e h a v e a C + + A B I l i b r a r y , t h e n w e c a n p r o d u c e a s i n g l e l i b o b j c t h a t
# I f w e h a v e a C + + A B I l i b r a r y , t h e n w e c a n p r o d u c e a s i n g l e l i b o b j c t h a t
@ -295,10 +296,11 @@ if (ENABLE_OBJCXX)
message ( STATUS "Using ${CXX_RUNTIME} as the C++ runtime library" )
message ( STATUS "Using ${CXX_RUNTIME} as the C++ runtime library" )
else ( )
else ( )
message ( STATUS "Testing C++ standard library" )
message ( STATUS "Testing C++ standard library" )
message ( STATUS "Using ${CMAKE_C_COMPILER}" )
try_compile ( USERUNTIME
try_compile ( USERUNTIME
" $ { C M A K E _ B I N A R Y _ D I R } / C M a k e "
" $ { C M A K E _ B I N A R Y _ D I R } / C M a k e "
" $ { C M A K E _ C U R R E N T _ L I S T _ D I R } / C M a k e "
" $ { C M A K E _ C U R R E N T _ L I S T _ D I R } / C M a k e "
t e s t _ c x x _ ru n t i m e )
t e s t _ c x x _ st d l i b )
if ( ${ USERUNTIME } )
if ( ${ USERUNTIME } )
message ( STATUS "libobjc will depend on C++ standard library" )
message ( STATUS "libobjc will depend on C++ standard library" )
set ( CXXRT_IS_STDLIB true )
set ( CXXRT_IS_STDLIB true )