8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2bf40a commit 7c18cbdCopy full SHA for 7c18cbd
3rdParty/V8/CMakeLists.txt
@@ -33,12 +33,17 @@ endif()
33
34
# detect 32bit or 64bit
35
36
-if ("${BITS}" STREQUAL "64")
37
- set(V8_PROC_ARCH "x64")
+if (${CMAKE_TARGET_ARCHITECTURES} STREQUAL "armv7")
+ set(V8_PROC_ARCH "arm")
38
+ list(APPEND V8_GYP_ARGS -Darm_version=7 -Darm_fpu=default -Darm_float_abi=default)
39
else ()
- message(ERROR "#### WILLY FIX ME ####")
40
- set(V8_PROC_ARCH "ia32")
41
-endif () # TODO: ARM? Win32?
+ if ("${BITS}" STREQUAL "64")
+ set(V8_PROC_ARCH "x64")
42
+ else ()
43
+ set(V8_PROC_ARCH "ia32")
44
+ endif ()
45
+endif()
46
+
47
48
# target architecture
49
0 commit comments