Skip to content

Commit c1a8ac0

Browse files
authored
Merge pull request #108 from prabhdatnoor/107-change-os-name-cmake
change os name to darwin
2 parents cc139bb + a850c2b commit c1a8ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ endif()
6969

7070
# include jni.h and jni_md.h
7171
if(NOT DEFINED JNI_INCLUDE_DIRS)
72-
if(OS_NAME MATCHES "^Linux" OR OS_NAME STREQUAL "Mac")
72+
if(OS_NAME MATCHES "^Linux" OR OS_NAME STREQUAL "Mac" OR OS_NAME STREQUAL "Darwin")
7373
set(JNI_INCLUDE_DIRS .github/include/unix)
7474
elseif(OS_NAME STREQUAL "Windows")
7575
set(JNI_INCLUDE_DIRS .github/include/windows)

0 commit comments

Comments
 (0)