Skip to content

Commit dae98a7

Browse files
authored
Fix macOS warning on cmake project initialization (#430)
1 parent bc335d2 commit dae98a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)