File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def main():
19
19
minimum_supported_numpy = "1.13.1"
20
20
build_contrib = get_build_env_var_by_name ("contrib" )
21
21
build_headless = get_build_env_var_by_name ("headless" )
22
- build_java = 'ON' if get_build_env_var_by_name ("java" ) else ' OFF'
22
+ build_java = "ON" if get_build_env_var_by_name ("java" ) else " OFF"
23
23
24
24
if sys .version_info [:2 ] >= (3 , 6 ):
25
25
minimum_supported_numpy = "1.13.3"
@@ -162,7 +162,11 @@ def main():
162
162
# OS-specific components during CI builds
163
163
if is_CI_build :
164
164
165
- if not build_headless and "bdist_wheel" in sys .argv :
165
+ if (
166
+ not build_headless
167
+ and "bdist_wheel" in sys .argv
168
+ and (sys .platform == "darwin" or sys .platform .startswith ("linux" ))
169
+ ):
166
170
cmake_args .append ("-DWITH_QT=5" )
167
171
subprocess .check_call ("patch -p1 < patches/patchQtPlugins" , shell = True )
168
172
You can’t perform that action at this time.
0 commit comments