Fixes for Linux and Mac builds

Adding "apt-get update" to hopefully fix the Linux build. I thought
Github would "fix" the image, but it doesn't hurt to have the update
in there anyway.

And fix the Mac Info.plist version.
This commit is contained in:
Leland Lucius 2020-02-24 08:55:20 -06:00
parent b651984b87
commit e5c5c08de6
2 changed files with 4 additions and 3 deletions

View File

@ -249,6 +249,7 @@ jobs:
export LD_LIBRARY_PATH="/usr/local/lib"
# Install required packages
sudo apt-get update -y
sudo apt-get install -y libgtk2.0-dev libasound2-dev gettext
sudo apt-get remove -y ccache

View File

@ -1250,9 +1250,9 @@ elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
# And store as variables
foreach( line ${output} )
string( REPLACE " " ";" line ${line})
list( GET line 0 name )
list( GET line 1 value )
string( REGEX MATCHALL "[A-Za-z0-9_]+" line "${line}" )
list( GET line 1 name )
list( GET line 2 value )
set( ${name} ${value} )
endforeach()