Fixed Windows Includes
This commit is contained in:
parent
2ad6e2dfb4
commit
80d1a03231
1 changed files with 23 additions and 11 deletions
|
@ -182,15 +182,27 @@ foreach(TYPE IN ITEMS DEBUG RELEASE)
|
|||
)
|
||||
endforeach()
|
||||
|
||||
# Link the fmt library and standard library
|
||||
target_link_libraries(HarmonyLinkLibStatic
|
||||
# Link the fmt library and standard library conditionally
|
||||
if (UNIX)
|
||||
target_link_libraries(HarmonyLinkLibStatic
|
||||
PUBLIC
|
||||
fmt
|
||||
stdc++fs
|
||||
)
|
||||
)
|
||||
|
||||
target_link_libraries(HarmonyLinkLibShared
|
||||
target_link_libraries(HarmonyLinkLibShared
|
||||
PUBLIC
|
||||
fmt
|
||||
stdc++fs
|
||||
)
|
||||
)
|
||||
elseif (WIN32)
|
||||
target_link_libraries(HarmonyLinkLibStatic
|
||||
PUBLIC
|
||||
fmt
|
||||
)
|
||||
|
||||
target_link_libraries(HarmonyLinkLibShared
|
||||
PUBLIC
|
||||
fmt
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue