tools/CMakeLists.txt
changeset 4341 46b8791e577f
parent 4335 c279aeb615df
child 4775 663aa9552bfc
equal deleted inserted replaced
4339:58d4733c9cad 4341:46b8791e577f
    17 	find_package(SDL_mixer REQUIRED)
    17 	find_package(SDL_mixer REQUIRED)
    18 	find_package(OGGVORBIS REQUIRED)
    18 	find_package(OGGVORBIS REQUIRED)
    19 	find_package(SPARKLE)
    19 	find_package(SPARKLE)
    20 
    20 
    21 	#use the associated tool from the libraries we've selected
    21 	#use the associated tool from the libraries we've selected
    22 	string(REGEX REPLACE "(.*)/include;-.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}")
    22 	string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}")
    23 	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATH ${qt_base_dir})
    23 	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin NO_DEFAULT_PATH)
    24 
    24 
    25 	if(NOT macdeployqt_EXE)
    25 	if(NOT macdeployqt_EXE)
    26 		message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!")
    26 		message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!")
    27 	endif()
    27 	endif()
    28 
    28