tools/CMakeLists.txt
changeset 6089 adc69bbb24e5
parent 5188 d0461bd6d45b
child 7112 38c5d56c4d6e
--- a/tools/CMakeLists.txt	Thu Oct 06 00:11:55 2011 +0400
+++ b/tools/CMakeLists.txt	Thu Oct 06 03:55:51 2011 +0200
@@ -32,9 +32,11 @@
 	string(REGEX REPLACE "(.*);-.*" "\\1" sdl_dir "${SDL_LIBRARY}")
 
 	#this tool is present in qt 4.5 but only if you compile from sources; from qt 4.6 is present also in the binary version
-	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin NO_DEFAULT_PATH)
+	find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin)
 	if(NOT macdeployqt_EXE)
-		message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!")
+		message(FATAL_ERROR "The utility macdeployqt is required to create the bundle (seached: ${qt_base_dir})")
+	else()
+		message(STATUS "macdeployqt found in ${macdeployqt_EXE}")
 	endif()
 
 	#dummy target, we're interested in the postscript file