mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
disable Intrinsic functions in msvc build
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
## 0.3.7
|
## 0.3.7
|
||||||
|
|
||||||
|
* fixed compiler error in windows release
|
||||||
* fixed crash when encoding Error object
|
* fixed crash when encoding Error object
|
||||||
* updated to latest quickjs
|
* updated to latest quickjs
|
||||||
|
|
||||||
|
Submodule cxx/quickjs updated: 21a2b256cc...1f6ce203c6
@@ -15,3 +15,7 @@ project(quickjs LANGUAGES C)
|
|||||||
target_compile_options(quickjs PRIVATE "-DCONFIG_VERSION=\"${QUICKJS_VERSION}\"")
|
target_compile_options(quickjs PRIVATE "-DCONFIG_VERSION=\"${QUICKJS_VERSION}\"")
|
||||||
target_compile_options(quickjs PRIVATE "-DDUMP_LEAKS")
|
target_compile_options(quickjs PRIVATE "-DDUMP_LEAKS")
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
# https://github.com/ekibun/flutter_qjs/issues/7
|
||||||
|
target_compile_options(quickjs PRIVATE "/Oi-")
|
||||||
|
endif()
|
Reference in New Issue
Block a user