]> git.mxchange.org Git - flightgear.git/commit
Make web browser app configurable through CMake (for Linux)
authorThorstenB <brehmt@gmail.com>
Sat, 18 Aug 2012 12:11:31 +0000 (14:11 +0200)
committerThorstenB <brehmt@gmail.com>
Sat, 18 Aug 2012 12:11:31 +0000 (14:11 +0200)
commit59fe04f8e90e356393ca2773ea0c3b0d177d5c84
treef14fd01b70f76a8d8b843969e0859bd7aca9d922
parent9c87aeb1fc2c4e2837d9b8c51347be5532ab42e2
Make web browser app configurable through CMake (for Linux)
so package builders don't need local patches.
Also, instead of hardcoded firefox, use "xdg-open" or "sensible-browser"
launchers on Linux, to auto-detect user's preferred browser.
Override with cmake switch -DWEB_BROWSER=...
(Not affecting Mac/Win which are hard-coded anyway).
CMakeLists.txt
CMakeModules/DetectBrowser.cmake [new file with mode: 0644]
src/GUI/gui_funcs.cxx
src/Include/config_cmake.h.in
src/Main/fg_init.cxx
src/Main/options.cxx