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():
1919 minimum_supported_numpy = "1.13.1"
2020 build_contrib = get_build_env_var_by_name ("contrib" )
2121 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"
2323
2424 if sys .version_info [:2 ] >= (3 , 6 ):
2525 minimum_supported_numpy = "1.13.3"
@@ -162,7 +162,11 @@ def main():
162162 # OS-specific components during CI builds
163163 if is_CI_build :
164164
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+ ):
166170 cmake_args .append ("-DWITH_QT=5" )
167171 subprocess .check_call ("patch -p1 < patches/patchQtPlugins" , shell = True )
168172
You can’t perform that action at this time.
0 commit comments