tools/CMakeLists.txt
changeset 8316 89232b2fa1d6
parent 7817 6cc558a69b58
child 8317 ec9f94ab2737
equal deleted inserted replaced
8315:b3875e10a8ae 8316:89232b2fa1d6
    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()