Skip to content

Commit

Permalink
Fix osx run errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Oct 14, 2023
1 parent 51d2f8f commit b1c2c56
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.19)
cmake_policy(SET CMP0054 NEW)
cmake_policy(SET CMP0072 NEW)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13)
set(CMAKE_OSX_ARCHITECTURES x86_64)
project(cdogs-sdl C)

SET(VERSION_MAJOR "1")
Expand Down
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ set(CDOGS_SDL_HEADERS
set(CDOGS_SDL_EXTRA)
if(WIN32)
set(CDOGS_SDL_EXTRA ../build/windows/cdogs.rc)
elseif(APPLE)
set(EXTRA_LIBRARIES "${EXTRA_LIBRARIES} -framework Carbon -framework IOKit")
endif()
add_executable(cdogs-sdl
${CDOGS_SDL_SOURCES} ${CDOGS_SDL_HEADERS} ${CDOGS_SDL_EXTRA})
Expand Down

0 comments on commit b1c2c56

Please sign in to comment.