cmake/Tests/RunCMake/LanguageStandards/StdLatest-OBJCXX.cmake

5 lines
241 B
CMake
Raw Normal View History

2024-07-09 14:46:46 +02:00
enable_language(OBJCXX)
message(STATUS "CMAKE_OBJCXX_STANDARD_LATEST='${CMAKE_OBJCXX_STANDARD_LATEST}'")
add_executable(StdLatest StdLatest-OBJCXX.mm)
set_property(TARGET StdLatest PROPERTY OBJCXX_STANDARD "${CMAKE_OBJCXX_STANDARD_LATEST}")