Skip to content

Commit

Permalink
example: avoid cmake_minimum deprecation warning
Browse files Browse the repository at this point in the history
Apple Silicon in general requires CMake >= 3.19.2, so it's
unlikely to be an issue.
  • Loading branch information
scivision committed Sep 1, 2023
1 parent 5471438 commit 39c1b8a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions example/example-lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
cmake_minimum_required (VERSION 3.2)
project (example-ios)
cmake_minimum_required (VERSION 3.5)
project(example-ios LANGUAGES CXX OBJC)
enable_testing()

enable_language(CXX)
enable_language(OBJC)

MESSAGE( STATUS "CMAKE_CXX_FLAGS: " ${CMAKE_CXX_FLAGS} )
MESSAGE( STATUS "CMAKE_OBJC_FLAGS: " ${CMAKE_OBJC_FLAGS} )

Expand Down

0 comments on commit 39c1b8a

Please sign in to comment.