mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-04 01:56:32 +00: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user