Skip to content

Commit

Permalink
fix compling for android on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed May 3, 2024
1 parent df434b3 commit 9da396a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if(POLICY CMP0086)
cmake_policy(SET CMP0086 NEW)
endif()

if (APPLE AND NOT ANDROID AND NOT EMSCRIPTEN)
if (APPLE AND NOT ANDROID AND NOT EMSCRIPTEN AND NOT ANDROID_PLATFORM)
SET(CMAKE_SIZEOF_VOID_P 4)

if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
Expand Down

0 comments on commit 9da396a

Please sign in to comment.