Unverified Commit f6511053 authored by Chris Clark's avatar Chris Clark Committed by GitHub
Browse files

change to syntax supported by cmake versions < 3.12 (#2666)

parent 91952b51
...@@ -42,14 +42,14 @@ endif() ...@@ -42,14 +42,14 @@ endif()
if ("${TARGET_ARCH}" MATCHES "arm") if ("${TARGET_ARCH}" MATCHES "arm")
set(ARM ON) set(ARM ON)
if ("${TARGET_ARCH}" MATCHES "armv8") if ("${TARGET_ARCH}" MATCHES "armv8")
add_compile_definitions(__ARM64__=1) add_definitions(-D__ARM64__=1)
else() else()
add_compile_definitions(__ARM__=1) add_definitions(-D__ARM__=1)
endif() endif()
endif() endif()
if ("${TARGET_ARCH}" MATCHES "ppc") if ("${TARGET_ARCH}" MATCHES "ppc")
set(PPC ON) set(PPC ON)
add_compile_definitions(__PPC__=1) add_definitions(-D__PPC__=1)
endif() endif()
# Where to install # Where to install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment