From bc950cb558dc879753a57c4cb9a805d4fa67d203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A8=D1=82=D0=B5=D0=BD=D0=B3=D0=B0=D1=83=D1=8D=D1=80=20?= =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=94=D0=BC=D0=B8=D1=82?= =?UTF-8?q?=D1=80=D0=B8=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 20 Nov 2023 15:13:59 +0300 Subject: [PATCH] Some fixes --- native/CMakeLists.txt | 1 - native/build.gradle | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 9886480..cde5051 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -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}) diff --git a/native/build.gradle b/native/build.gradle index 2233141..d8178b0 100644 --- a/native/build.gradle +++ b/native/build.gradle @@ -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") } }