commit 8178985f5bac086a163f6d114a22c4dfd06b7000
parent 17c5a219af0c5622d1ec063ad21a222331fe1870
Author: Robert Burnett <dr.slate2@gmail.com>
Date: Thu, 7 Nov 2024 21:21:29 -0600
add iconv and corefoundation as required libraries
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -39,9 +39,11 @@ target_compile_definitions(ft2-clone
if(UNIX)
if(APPLE)
find_library(COREAUDIO CoreAudio REQUIRED)
+ find_library(COREFOUNDATION CoreFoundation REQUIRED)
find_library(COREMIDI CoreMIDI REQUIRED)
+ find_library(ICONV iconv REQUIRED)
target_link_libraries(ft2-clone
- PRIVATE ${COREAUDIO} ${COREMIDI})
+ PRIVATE ${COREAUDIO} ${COREMIDI} ${COREFOUNDATION} ${ICONV})
target_compile_definitions(ft2-clone
PRIVATE __MACOSX_CORE__)
else()