Mercurial > minori
diff dep/animia/CMakeLists.txt @ 163:44c5e6dd9488
dep/animia/osx: move GetProcessName to util/osx so we can use it in quartz
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 18 Nov 2023 00:47:40 -0500 |
parents | 61b76c7b656a |
children | 54c5d80a737e |
line wrap: on
line diff
--- a/dep/animia/CMakeLists.txt Fri Nov 17 16:49:57 2023 -0500 +++ b/dep/animia/CMakeLists.txt Sat Nov 18 00:47:40 2023 -0500 @@ -21,13 +21,15 @@ list(APPEND SRC_FILES # xnu stuff src/fd/xnu.cc + src/util/osx.cc ) include(CheckIncludeFile) check_include_file("CoreFoundation/CoreFoundation.h" HAVE_COREFOUNDATION) + # If you're building on OS X, you most likely do have this file, but we + # check anyway. if (HAVE_COREFOUNDATION) list(APPEND DEFINES HAVE_COREFOUNDATION) - list(APPEND SRC_FILES src/util/osx.cc) endif() check_language(OBJCXX)