Monkey patch finding tar on windows.
This commit is contained in:
parent
7e682e9948
commit
7f8ea6e06a
|
@ -728,6 +728,13 @@ endfunction()
|
||||||
|
|
||||||
include( FindUnixCommands )
|
include( FindUnixCommands )
|
||||||
|
|
||||||
|
# CMake on Windows CI seems to struggle to find tar even though it's in PATH
|
||||||
|
# Let's help it out as modern windows (Server 2019 and 10 provide tar)
|
||||||
|
if( MSVC AND TAR STREQUAL "TAR-NOTFOUND" )
|
||||||
|
# yolo
|
||||||
|
set( TAR "C:\\Windows\\System32\\tar.exe" )
|
||||||
|
endif()
|
||||||
|
|
||||||
set( BITMAP_ARCHIVE_PATH ${CMAKE_BINARY_DIR}/resources/images.tar.gz )
|
set( BITMAP_ARCHIVE_PATH ${CMAKE_BINARY_DIR}/resources/images.tar.gz )
|
||||||
|
|
||||||
if( NOT ALL_PNGS )
|
if( NOT ALL_PNGS )
|
||||||
|
|
Loading…
Reference in New Issue