2 # TODO: use MUSK_BINARY_DIR and MUSK_SOURCE_DIR
4 cmake_minimum_required( VERSION 2.8 )
6 # TODO: load the SDL with Linux too...
9 include( FindSDL_image )
10 include( FindSDL_ttf )
12 include_directories( ${SDL_INCLUDE_DIR} )
13 include_directories( ${SDLIMAGE_INCLUDE_DIR} )
14 include_directories( ${SDLTTF_INCLUDE_DIR} )
17 file(GLOB MUSK_SOURCES
23 # add: if( APPLE ) elseif( UNIX ) endif(...) for SDLmain
24 add_executable( musk MACOSX_BUNDLE ${MUSK_SOURCES} )
25 target_link_libraries( musk ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} )
28 # include( BundleUtilities )
29 # install( DIRECTORY /Library/Frameworks/SDL.framework DESTINATION musk.app/Contents/Frameworks )