does manually adding the flag work?
This commit is contained in:
parent
ecd187d08b
commit
b3e5d93a7a
|
@ -9,7 +9,8 @@ set(JAVA_AWT_INCLUDE_PATH NotNeeded)
|
|||
find_package(JNI REQUIRED)
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
|
||||
# Build both arm64 and Intel
|
||||
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
|
||||
endif(APPLE)
|
||||
|
||||
set(CXX_STANDARD 20)
|
||||
|
@ -29,6 +30,8 @@ endif()
|
|||
|
||||
add_library(openblt_jni SHARED)
|
||||
|
||||
add_compile_options("-std=c++11")
|
||||
|
||||
target_include_directories(openblt_jni PRIVATE ${LIBOPENBLT_INC})
|
||||
target_include_directories(openblt_jni PRIVATE ${JNI_INCLUDE_DIRS})
|
||||
target_link_directories(openblt_jni PRIVATE ${LIBOPENBLT_LIB})
|
||||
|
|
Loading…
Reference in New Issue