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()
|
endforeach()
|
||||||
|
|
||||||
# Link the fmt library and standard library
|
# Link the fmt library and standard library conditionally
|
||||||
target_link_libraries(HarmonyLinkLibStatic
|
if (UNIX)
|
||||||
PUBLIC
|
target_link_libraries(HarmonyLinkLibStatic
|
||||||
fmt
|
PUBLIC
|
||||||
stdc++fs
|
fmt
|
||||||
)
|
stdc++fs
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(HarmonyLinkLibShared
|
target_link_libraries(HarmonyLinkLibShared
|
||||||
PUBLIC
|
PUBLIC
|
||||||
fmt
|
fmt
|
||||||
stdc++fs
|
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