From 7d99a6c00f18b99af571522706a167b308c1d1ba Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 11 Apr 2019 18:04:57 +0200 Subject: [PATCH] CMakeLists: Allow importing dynarmic build trees into other CMake projects --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dadc0772..f460f742 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -291,3 +291,5 @@ endif() if (CMAKE_SYSTEM_NAME STREQUAL "Windows") target_compile_definitions(dynarmic PRIVATE FMT_USE_WINDOWS_H=0) endif() + +export(TARGETS dynarmic boost fmt xbyak FILE "dynarmic-config.cmake")