build: Fix building launcher on Debian
This commit is contained in:
parent
7e51b976f1
commit
ac8e2b47f0
2 changed files with 2 additions and 2 deletions
|
@ -714,7 +714,7 @@ if(BUILD_LAUNCHER)
|
|||
endif()
|
||||
|
||||
include(${wxWidgets_USE_FILE})
|
||||
target_link_libraries(launcher ${wxWidgets_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
||||
target_link_libraries(launcher ${wxWidgets_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY})
|
||||
|
||||
set_target_properties(launcher PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
else()
|
||||
|
|
|
@ -67,7 +67,7 @@ LauncherFrame::LauncherFrame() : wxFrame(nullptr, wxID_ANY, "reone", wxDefaultPo
|
|||
wxArrayString resChoices;
|
||||
set<string> uniqueRes;
|
||||
|
||||
wxArrayVideoModes modes(wxDisplay(this).GetModes());
|
||||
wxArrayVideoModes modes(wxDisplay(wxDisplay::GetFromWindow(this)).GetModes());
|
||||
for (size_t i = 0; i < modes.GetCount(); ++i) {
|
||||
wxVideoMode mode = modes[i];
|
||||
string res(str(boost::format("%dx%d") % mode.GetWidth() % mode.GetHeight()));
|
||||
|
|
Loading…
Reference in a new issue