diff --git a/CMakeLists.txt b/CMakeLists.txt index 13d58a4..14db3af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,12 +30,12 @@ IF (WIN32) message("using clang") elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") message("using gcc") - add_custom_command ( - TARGET generallib POST_BUILD - COMMAND ar -x - ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a - COMMENT "package library ar -x ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a " - ) + #add_custom_command ( + # TARGET generallib POST_BUILD + # COMMAND ar -x + # ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a + # COMMENT "package library ar -x ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a " + # ) add_custom_command ( TARGET generallib POST_BUILD COMMAND ar rc libgeneral.a *.obj