diff options
Diffstat (limited to 'external/easylogging++')
-rw-r--r-- | external/easylogging++/CMakeLists.txt | 1 | ||||
-rw-r--r-- | external/easylogging++/ea_config.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/external/easylogging++/CMakeLists.txt b/external/easylogging++/CMakeLists.txt index 97d0bf571..8fe3fa487 100644 --- a/external/easylogging++/CMakeLists.txt +++ b/external/easylogging++/CMakeLists.txt @@ -54,4 +54,5 @@ if (BUILD_GUI_DEPS) ARCHIVE DESTINATION ${lib_folder} LIBRARY DESTINATION ${lib_folder}) endif() +set_property(TARGET easylogging APPEND PROPERTY COMPILE_FLAGS "-fPIC") diff --git a/external/easylogging++/ea_config.h b/external/easylogging++/ea_config.h index c97858f30..4c74925d3 100644 --- a/external/easylogging++/ea_config.h +++ b/external/easylogging++/ea_config.h @@ -8,5 +8,7 @@ #define ELPP_NO_DEBUG_MACROS #ifdef EASYLOGGING_CC +#if !(!defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__) #define ELPP_FEATURE_CRASH_LOG #endif +#endif |