mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 05:58:19 +01:00
CMakeLists: Make boost an interface library target
Gets rid of the use of a non-target include and makes libraries explicitly link against the identifier name in order to get includes.
This commit is contained in:
parent
6396bd02f0
commit
9906be746f
5 changed files with 7 additions and 8 deletions
|
|
@ -111,9 +111,7 @@ target_include_directories(dynarmic
|
|||
PRIVATE .)
|
||||
target_compile_options(dynarmic PRIVATE ${DYNARMIC_CXX_FLAGS})
|
||||
|
||||
# Link fmt
|
||||
target_link_libraries(dynarmic PRIVATE fmt-header-only)
|
||||
target_link_libraries(dynarmic PRIVATE boost fmt-header-only xbyak)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_compile_definitions(dynarmic PRIVATE FMT_USE_WINDOWS_H=0)
|
||||
endif()
|
||||
target_link_libraries(dynarmic PRIVATE xbyak)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue