fix build issues on Windows, add automatic deploy for Windows
This commit is contained in:
@@ -363,6 +363,12 @@ add_custom_command(TARGET noggit POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E remove -f
|
||||
$<TARGET_FILE_DIR:noggit>/definitions/.git)
|
||||
|
||||
# deploy for Qt on Windows
|
||||
IF(WIN32)
|
||||
include(windeployqt)
|
||||
windeployqt(noggit)
|
||||
ENDIF()
|
||||
|
||||
SET_PROPERTY(TARGET noggit PROPERTY AUTOMOC ON)
|
||||
|
||||
IF(APPLE)
|
||||
@@ -422,3 +428,4 @@ IF(NOGGIT_LOGTOCONSOLE AND WIN32)
|
||||
ENDIF()
|
||||
|
||||
includePlatform("pack")
|
||||
|
||||
|
||||
2
cmake
2
cmake
Submodule cmake updated: 59b70e0e2c...6c21df1019
@@ -245,7 +245,7 @@ static_assert ( sizeof (mohd_flags) == sizeof (std::uint16_t)
|
||||
|
||||
class WMO : public AsyncObject
|
||||
{
|
||||
friend class WMORender;
|
||||
friend class Noggit::Rendering::WMORender;
|
||||
|
||||
public:
|
||||
explicit WMO(BlizzardArchive::Listfile::FileKey const& file_key, Noggit::NoggitRenderContext context );
|
||||
|
||||
Reference in New Issue
Block a user