tools/CMakeLists.txt
changeset 9050 e9d54cd577e7
parent 8660 6370e545fd5f
child 9229 5d5c5cbe7681
equal deleted inserted replaced
9049:69016523a7a2 9050:e9d54cd577e7
    31     string(REGEX REPLACE "(.*);-.*" "\\1" sdl_library_only "${SDL_LIBRARY}")
    31     string(REGEX REPLACE "(.*);-.*" "\\1" sdl_library_only "${SDL_LIBRARY}")
    32 
    32 
    33     if(NOT NOPNG)
    33     if(NOT NOPNG)
    34         #get the neme of the library (harmelss if it is static)
    34         #get the neme of the library (harmelss if it is static)
    35         string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}")
    35         string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}")
       
    36         string(REGEX REPLACE ".*/(.*)$" "\\1" ZLIB_LIBNAME "${ZLIB_LIBRARY}")
    36     endif()
    37     endif()
    37 
    38 
    38     set(frameworks_dir ${CMAKE_INSTALL_PREFIX}/${target_library_install_dir})
    39     set(frameworks_dir ${CMAKE_INSTALL_PREFIX}/${target_library_install_dir})
    39     if(${BUILD_ENGINE_LIBRARY})
    40     if(${BUILD_ENGINE_LIBRARY})
    40         set(engine_full_path "${frameworks_dir}/${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}")
    41         set(engine_full_path "${frameworks_dir}/${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}")