Skip to content

Commit a0cd96a

Browse files
committed
Fix macOS warning on cmake project initialization
1 parent 6501214 commit a0cd96a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_minimum_required( VERSION 3.25 )
22

3+
if(DEFINED CMAKE_OSX_SYSROOT AND NOT EXISTS "${CMAKE_OSX_SYSROOT}")
4+
unset(CMAKE_OSX_SYSROOT CACHE)
5+
endif()
6+
37
message( STATUS "Parallel Programming Course (PPC)" )
48
project(parallel_programming_course)
59

0 commit comments

Comments
 (0)