mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-29 19:27:53 +00:00
Fixed compilation issues on Windows
This commit is contained in:
parent
7f78ea74ca
commit
bc83c922a1
2 changed files with 5 additions and 0 deletions
|
@ -294,6 +294,9 @@ create_target_directory_groups(lime-qt)
|
|||
|
||||
target_link_libraries(lime-qt PRIVATE audio_core lime_common lime_core input_common network video_core)
|
||||
target_link_libraries(lime-qt PRIVATE Boost::boost nihstro-headers Qt6::Widgets Qt6::Multimedia Qt6::Concurrent)
|
||||
if (MSVC)
|
||||
target_link_libraries(lime-qt PRIVATE getopt)
|
||||
endif()
|
||||
target_link_libraries(lime-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||
|
||||
if (ENABLE_OPENGL)
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
#include <QtWidgets>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
#undef _UNICODE
|
||||
#include <getopt.h>
|
||||
#ifdef __APPLE__
|
||||
#include <unistd.h> // for chdir
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue