tools/CMakeLists.txt
branchexperimental3D
changeset 4343 19cbea33e4d2
parent 4341 46b8791e577f
child 4775 663aa9552bfc
equal deleted inserted replaced
4006:45b63c2a694f 4343:19cbea33e4d2
    15 	find_package(SDL_net REQUIRED)
    15 	find_package(SDL_net REQUIRED)
    16 	find_package(SDL_ttf REQUIRED)
    16 	find_package(SDL_ttf REQUIRED)
    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 	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac)
    20 
       
    21 	#use the associated tool from the libraries we've selected
       
    22 	string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}")
       
    23 	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin NO_DEFAULT_PATH)
    21 
    24 
    22 	if(NOT macdeployqt_EXE)
    25 	if(NOT macdeployqt_EXE)
    23 		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!")
    24 	endif()
    27 	endif()
    25 
    28