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