mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-09 00:20:01 +01:00
CMakeLists: Handle DYNARMIC_NO_BUNDLED_FMT in relation to export()
This is pretty gross, but until DYNARMIC_NO_BUNDLED_FMT is eliminated, this fixes the use of it in existing libraries or applications making use of dynarmic.
This commit is contained in:
parent
7d20f3b861
commit
acd7ac5ed3
@ -301,7 +301,14 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
export(
|
export(
|
||||||
TARGETS dynarmic boost fmt xbyak
|
TARGETS dynarmic boost xbyak
|
||||||
NAMESPACE dynarmic::
|
NAMESPACE dynarmic::
|
||||||
FILE "dynarmic-config.cmake"
|
FILE "dynarmic-config.cmake"
|
||||||
)
|
)
|
||||||
|
if (NOT DYNARMIC_NO_BUNDLED_FMT)
|
||||||
|
export(
|
||||||
|
TARGETS fmt
|
||||||
|
NAMESPACE dynarmic::
|
||||||
|
APPEND FILE "dynarmic-config.cmake"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user