equal
deleted
inserted
replaced
27 |
27 |
28 #use the associated tool from the libraries we've selected |
28 #use the associated tool from the libraries we've selected |
29 string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}") |
29 string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}") |
30 |
30 |
31 #remove the ";-framework Cocoa" from the SDL_LIBRARY variable |
31 #remove the ";-framework Cocoa" from the SDL_LIBRARY variable |
32 string(REGEX REPLACE "(.*);-.*" "\\1" sdl_dir "${SDL_LIBRARY}") |
32 string(REGEX REPLACE "(.*);-.*" "\\1" sdl_library_only "${SDL_LIBRARY}") |
33 |
33 |
34 if(NOT NOPNG) |
34 if(NOT NOPNG) |
35 #get the neme of the library (harmelss if it is static) |
35 #get the neme of the library (harmelss if it is static) |
36 string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}") |
36 string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}") |
37 endif() |
37 endif() |