Fixed Windows Includes

This commit is contained in:
Jordon Brooks 2024-05-17 01:25:03 +01:00
parent 2ad6e2dfb4
commit 80d1a03231
Signed by: jordon
GPG key ID: DBD9758CD53E786A

View file

@ -182,7 +182,8 @@ foreach(TYPE IN ITEMS DEBUG RELEASE)
)
endforeach()
# Link the fmt library and standard library
# Link the fmt library and standard library conditionally
if (UNIX)
target_link_libraries(HarmonyLinkLibStatic
PUBLIC
fmt
@ -194,3 +195,14 @@ target_link_libraries(HarmonyLinkLibShared
fmt
stdc++fs
)
elseif (WIN32)
target_link_libraries(HarmonyLinkLibStatic
PUBLIC
fmt
)
target_link_libraries(HarmonyLinkLibShared
PUBLIC
fmt
)
endif()