SDL : Fix build on OSX, thanks to KunaiTeam

This commit is contained in:
bgk 2008-09-03 06:45:24 +00:00
parent f10ff69671
commit 51efd70d2c
1 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,12 @@ SET( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts )
INCLUDE(CMakeScripts/CMakeDetermineASMCompiler.cmake)
INCLUDE(CMakeScripts/CMakeASMInformation.cmake)
# Fill in SDLMAIN_LIBRARY on OS X manually to avoid using SDLMain.m
# OS X users will have to compile and install SDL form source.
if( APPLE )
SET(SDLMAIN_LIBRARY "-lSDLmain")
endif( APPLE )
# The project's name is VBA-M it uses assembly, C and C++ code
PROJECT(VBA-M ASM C CXX)
@ -257,7 +263,6 @@ IF( CAN_BUILD_VBAM )
ADD_EXECUTABLE (
vbam
WIN32
MACOSX_BUNDLE
${SRC_SDL}
${SRC_HQ}
)