Merge branch 'build-fixes' of https://github.com/agateau/aseprite into agateau-build-fixes

This commit is contained in:
David Capello 2015-04-30 12:03:29 -03:00
commit 35e951ec70
2 changed files with 3 additions and 2 deletions

View File

@ -36,12 +36,12 @@ namespace doc {
}
void onAddDocument(Document* doc) override {
notifyActiveDocumentChanged(m_activeDoc = doc);
this->notifyActiveDocumentChanged(m_activeDoc = doc);
}
void onRemoveDocument(Document* doc) override {
if (m_activeDoc == doc)
notifyActiveDocumentChanged(m_activeDoc = nullptr);
this->notifyActiveDocumentChanged(m_activeDoc = nullptr);
}
private:

View File

@ -12,3 +12,4 @@ elseif(APPLE)
endif()
add_library(updater-lib ${UPDATER_LIB_SOURCES})
target_link_libraries(updater-lib net-lib)