mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
macos sucks
This commit is contained in:
parent
a3ac8ab364
commit
efe94e553c
2 changed files with 5 additions and 2 deletions
|
@ -13,7 +13,7 @@ if (GEODE_TARGET_PLATFORM STREQUAL "iOS")
|
|||
|
||||
set(GEODE_OUTPUT_NAME "GeodeIOS")
|
||||
set(GEODE_PLATFORM_BINARY "GeodeIOS.dylib")
|
||||
set(GEODE_MOD_BINARY_SUFFIX ".dylib" CACHE STRING "" FORCE)
|
||||
set(GEODE_MOD_BINARY_SUFFIX ".ios.dylib" CACHE STRING "" FORCE)
|
||||
elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
SYSTEM_NAME MacOS
|
||||
|
@ -45,7 +45,7 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
|
|||
|
||||
set(GEODE_OUTPUT_NAME "Geode")
|
||||
set(GEODE_PLATFORM_BINARY "Geode.dylib")
|
||||
set(GEODE_MOD_BINARY_SUFFIX ".ios.dylib" CACHE STRING "" FORCE)
|
||||
set(GEODE_MOD_BINARY_SUFFIX ".dylib" CACHE STRING "" FORCE)
|
||||
elseif (GEODE_TARGET_PLATFORM STREQUAL "Win32")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
SYSTEM_NAME Win32
|
||||
|
|
|
@ -12,8 +12,11 @@
|
|||
#include <fmt/core.h>
|
||||
// for formatting std::vector and such
|
||||
#include <fmt/ranges.h>
|
||||
// yet another macos std::filesystem L
|
||||
#ifndef GEODE_IS_MACOS
|
||||
// for std::optional
|
||||
#include <fmt/std.h>
|
||||
#endif
|
||||
|
||||
namespace geode {
|
||||
// these are here because theyre special :-)
|
||||
|
|
Loading…
Reference in a new issue