Mercurial > minori
comparison CMakeLists.txt @ 179:9c4645100fec
osx: clean up includes, we do not need cocoa
what we *do* need is the very basics that animia already depends on anyway.
these are basically guaranteed to be on any macos system, making it fairly portable
now... I haven't tested this :) I don't have a macos machine right now...
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 04 Dec 2023 12:03:36 -0500 |
| parents | 6fdf0632c003 |
| children | 649786bae914 |
comparison
equal
deleted
inserted
replaced
| 178:bc8d2ccff09c | 179:9c4645100fec |
|---|---|
| 41 pugixml | 41 pugixml |
| 42 ) | 42 ) |
| 43 | 43 |
| 44 # We need Cocoa for some OS X stuff | 44 # We need Cocoa for some OS X stuff |
| 45 if(APPLE) | 45 if(APPLE) |
| 46 find_library(COCOA_LIBRARY Cocoa) | 46 find_library(FOUNDATION_LIBRARY Foundation) |
| 47 list(APPEND LIBRARIES ${COCOA_LIBRARY}) | 47 find_library(APPKIT_LIBRARY AppKit) |
| 48 list(APPEND LIBRARIES ${FOUNDATION_LIBRARY} ${APPKIT_LIBRARY}) | |
| 48 endif() | 49 endif() |
| 49 | 50 |
| 50 set(SRC_FILES | 51 set(SRC_FILES |
| 51 # Main entrypoint | 52 # Main entrypoint |
| 52 src/main.cc | 53 src/main.cc |
