Skip to content

Commit

Permalink
fix cmake again
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Aug 4, 2024
1 parent f6e3ac5 commit 0b78db0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,14 @@ CPMAddPackage(
OPTIONS "LIBDEFLATE_BUILD_SHARED_LIB OFF" "LIBDEFLATE_BUILD_GZIP OFF"
)

message(STATUS "Building blaze for ${GEODE_TARGET_PLATFORM}")

# Suppress some warnings
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(boost_container PRIVATE "-Wno-incompatible-pointer-types")
endif()

# silly thing
if (ANDROID)
if (${GEODE_TARGET_PLATFORM} STREQUAL "Android64")
if (ANDROID_ABI STREQUAL "arm64-v8a")
target_compile_options(${PROJECT_NAME} PRIVATE "-march=armv8-a+crc")
endif()
endif()
Expand Down

0 comments on commit 0b78db0

Please sign in to comment.