Uhhh... Yeah. This way of building ACE is not so supported atm because it's not optimal way to do things.
ACE's CMakeLists.txt builds it as an "object library", which means a bunch of .obj files which are in turn linked into your executable if you do so using ACE. This allows for a whole lot more link-time optimizations than linking with .a file.
I'll bring back support for that later today by introducting cmake parameter, so you can do something like `cmake .. -DACE_STATIC_LIBRARY=ON` and add specific docs on how to invoke it. In the meantime you can try changing line:
Code:
add_library(${TARGET_NAME} OBJECT ${SOURCES} ${HEADERS})
into:
Code:
add_library(${TARGET_NAME} STATIC ${SOURCES} ${HEADERS})
Or modify things on your side to link with .o files, but I guess it's painful thing to do manually without CMake's target_link_libraries().