if (NOT TARGET Threads::Threads) add_library(Threads::Threads IMPORTED INTERFACE) add_library(atomic IMPORTED INTERFACE) endif()