--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,13 +25,3 @@
    SET_TARGET_PROPERTIES(er PROPERTIES OUTPUT_NAME er CLEAN_DIRECT_OUTPUT 1)
    INSTALL(TARGETS er DESTINATION ${CMAKE_INSTALL_LIBDIR})
 ENDIF()
-
-ADD_LIBRARY(er-static STATIC $<TARGET_OBJECTS:er_o>)
-IF(ER_LINK_STATIC)
-        SET_TARGET_PROPERTIES(er-static PROPERTIES LINK_SEARCH_START_STATIC 1)
-        SET_TARGET_PROPERTIES(er-static PROPERTIES LINK_SEARCH_END_STATIC 1)
-ENDIF(ER_LINK_STATIC)
-TARGET_LINK_LIBRARIES(er-static ${ER_EXTERNAL_LIBS})
-
-SET_TARGET_PROPERTIES(er-static PROPERTIES OUTPUT_NAME er CLEAN_DIRECT_OUTPUT 1)
-INSTALL(TARGETS er-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
