build_environment: mingw32 fix repeated unpack of gcc tarball
authorRay Molenkamp <github@lazydodo.com>
Sun, 26 Aug 2018 01:37:11 +0000 (19:37 -0600)
committerRay Molenkamp <github@lazydodo.com>
Sun, 26 Aug 2018 01:37:11 +0000 (19:37 -0600)
build_files/build_environment/cmake/setup_mingw32.cmake

index ece12ddc179859fd3d02865e00c29752c9f32aad..afb44e8e88d418592273ec388ec7e1c9e87287d8 100644 (file)
@@ -49,7 +49,7 @@ if(NOT EXISTS "${DOWNLOAD_DIR}/mingw")
 endif()
 
 # extract mingw32
-if((NOT EXISTS "${DOWNLOAD_DIR}/mingw/mingw32/mingw32env.cmd") AND (EXISTS "${DOWNLOAD_DIR}/i686-4.9.4-release-win32-sjlj-rt_v5-rev0.7z"))
+if((NOT EXISTS "${DOWNLOAD_DIR}/mingw/mingw32/ming32sh.cmd") AND (EXISTS "${DOWNLOAD_DIR}/i686-4.9.4-release-win32-sjlj-rt_v5-rev0.7z"))
        message("Extracting mingw32")
        execute_process(
                COMMAND ${CMAKE_COMMAND} -E tar jxf ${DOWNLOAD_DIR}/i686-4.9.4-release-win32-sjlj-rt_v5-rev0.7z