Skip to content

Commit

Permalink
An attempt att fixing the apple build
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidityC committed Nov 2, 2024
1 parent 05720e1 commit b773048
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
set(OSX 1)
endif()

if (APPLE)
enable_language(OBJC)
endif()

set (default_build_type "Release")
if (NOT CMAKE_BUILD_TYPE AND default_build_type)
message( STATUS "Setting default buildtype to '${default_build_type}' as none was specified")
Expand Down Expand Up @@ -100,7 +104,7 @@ IF ( GCC AND NOT MINGW )
CMAKE_C_FLAGS_DEBUG
"${CMAKE_C_FLAGS_DEBUG} -fsanitize=address -fno-omit-frame-pointer"
)
ENDIF ( GCC )
ENDIF ()

if (STEAM)
include_directories(
Expand Down

0 comments on commit b773048

Please sign in to comment.