equal
deleted
inserted
replaced
135 #set the correct library or framework style depending on the main SDL |
135 #set the correct library or framework style depending on the main SDL |
136 string(FIND "${SDL_LIBRARY}" "dylib" sdl_framework) |
136 string(FIND "${SDL_LIBRARY}" "dylib" sdl_framework) |
137 if(${sdl_framework} GREATER -1) |
137 if(${sdl_framework} GREATER -1) |
138 add_flag_append(CMAKE_Pascal_FLAGS "-k-lsdl -k-lsdl_image -k-lsdl_mixer -k-lsdl_ttf -k-lsdl_net") |
138 add_flag_append(CMAKE_Pascal_FLAGS "-k-lsdl -k-lsdl_image -k-lsdl_mixer -k-lsdl_ttf -k-lsdl_net") |
139 else() |
139 else() |
140 add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kSDL -k-framework -kSDL_image -k-framework -k SDL_mixer -k-framework -k SDL_net -k-framework -kSDL_net") |
140 add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kSDL -k-framework -kSDL_image -k-framework -kSDL_mixer -k-framework -kSDL_net -k-framework -kSDL_net -k-framework -kSDL_ttf") |
141 endif() |
141 endif() |
142 endif() |
142 endif() |
143 |
143 |
144 if(LIBAV_FOUND) |
144 if(LIBAV_FOUND) |
145 add_subdirectory(avwrapper) |
145 add_subdirectory(avwrapper) |