diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/freerdp.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/freerdp.rb b/Library/Formula/freerdp.rb index fcf679dcd..0bbd6654f 100644 --- a/Library/Formula/freerdp.rb +++ b/Library/Formula/freerdp.rb @@ -22,6 +22,8 @@ class Freerdp < Formula end unless build.head? def install + cmake_args = std_cmake_args + if build.head? then # workaround for out-of-git clone tree build inreplace 'cmake/GetGitRevisionDescription.cmake', @@ -31,9 +33,10 @@ class Freerdp < Formula inreplace 'cmake/GetGitRevisionDescription.cmake', 'WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"', "WORKING_DIRECTORY \"#{cached_download}\"" + cmake_args << "-DWITH_X11=ON" end - system "cmake", ".", *std_cmake_args + system "cmake", ".", *cmake_args system "make install" end end |
