Fix: build on platforms without native atomic

This commit is contained in:
Eric Long
2023-02-26 19:39:09 +08:00
committed by rubidium42
parent eabb9db0bb
commit 20a1b24b45
2 changed files with 89 additions and 0 deletions

View File

@@ -292,6 +292,8 @@ if(NOT OPTION_DEDICATED)
endif()
endif()
include(CheckAtomic)
if(APPLE)
link_package(Iconv TARGET Iconv::Iconv)