diff --git a/CMakeLists.txt b/CMakeLists.txt index 950dc4ad5..498f3df69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -442,9 +442,9 @@ else() endif() if (WIN32) - list(APPEND DEPENDENCIES_LIBRARIES shlwapi imagehlp) + list(APPEND DEPENDENCIES_LIBRARIES shlwapi) if (NOT MSVC) - list(APPEND DEPENDENCIES_LIBRARIES msvcr90 psapi -static) + list(APPEND DEPENDENCIES_LIBRARIES -static) endif() endif() diff --git a/src/main.cpp b/src/main.cpp index d7c2c194e..4a3e9d0e2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,8 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "../extern/backward/backward.hpp" - #include #include #include @@ -242,6 +240,7 @@ void initParams() { } // TODO: CoInitializeEx on Windows? +// TODO: add crash log int main(int argc, char** argv) { initLog(); #if !(defined(__APPLE__) || defined(_WIN32)) @@ -253,8 +252,6 @@ int main(int argc, char** argv) { outName=""; vgmOutName=""; - backward::SignalHandling crashHandler; - initParams(); // parse arguments