Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit ef7a5ba

Browse files
committed
Add standard variable + use c++14
1 parent 02276b6 commit ef7a5ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

binding.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
],
6868

6969
"variables": {
70-
"tests": 0
70+
"tests": 0,
71+
"STANDARD": 14,
7172
},
7273

7374
"conditions": [
@@ -111,9 +112,8 @@
111112
}]
112113
}]
113114
],
114-
115115
"target_defaults": {
116-
"cflags_cc": ["-std=c++11"],
116+
"cflags_cc": [ "-std=c++<(STANDARD)" ],
117117
"conditions": [
118118
['OS=="mac"', {
119119
"xcode_settings": {

0 commit comments

Comments
 (0)