Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Штенгауэр Никита Дмитриевич committed Nov 20, 2023
1 parent eaa3768 commit bc950cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set(MacOSFiles "src/iosurface.cpp" )

set(JAVA_AWT_LIBRARY NotNeeded)
set(JAVA_JVM_LIBRARY NotNeeded)
set(JAVA_INCLUDE_PATH2 NotNeeded)
set(JAVA_AWT_INCLUDE_PATH NotNeeded)
find_package(JNI REQUIRED)
include_directories(${JNI_INCLUDE_DIRS})
Expand Down
2 changes: 1 addition & 1 deletion native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tasks.register('compile') {
} else if (os.isMacOsX()) {
file('build').mkdirs()
execute("cmake ../ -DCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\"", file("build"))
execute("cmake --build ../", file("build"))
execute("cmake --build ./", file("build"))
} else throw new Exception("Unsupported OS")
}
}
Expand Down

0 comments on commit bc950cb

Please sign in to comment.