libname(ace ACE)
ExternalProject_Add(
   ACE_BUILD
   URL ${CMAKE_CURRENT_SOURCE_DIR}/naked_ace.tgz
   UPDATE_COMMAND ""
   INSTALL_DIR ${ThirdParty_Install_Dir}
   CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_STAGING_PREFIX:PATH=${ThirdParty_Install_Dir} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
   CMAKE_GENERATOR "${CMAKE_GENERATOR}"
   CMAKE_GENERATOR_TOOLSET ${CMAKE_GENERATOR_TOOLSET}
   BUILD_BYPRODUCTS ${ace_LIBRARY_SHARED} ${ace_LIBRARY_STATIC} ${ace_LIBRARY_IMP}
)
ADD_LIBRARY(ace_IMP SHARED IMPORTED GLOBAL)
add_dependencies(ace_IMP ACE_BUILD)
set_shared_lib_properties(ace)
set_property(TARGET ace_IMP APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS ACE_HAS_DLL=1)
message(${ace_LIBRARY_SHARED})
install(FILES ${ace_LIBRARY_SHARED} DESTINATION deploy)
