diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a95b684b..1ca54af5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,8 +133,6 @@ if(NOT MSVC) if(COMPILER_SUPPORT_WERROR) set(CMAKE_REQUIRED_FLAGS "-Werror") endif() - ei_add_cxx_compiler_flag("-static") - ei_add_cxx_compiler_flag("-fPIC") ei_add_cxx_compiler_flag("-pedantic") ei_add_cxx_compiler_flag("-Wall") ei_add_cxx_compiler_flag("-Wextra")