Merge topic 'osx-cross-compile-fixup'

3189ed3 OS X: Fix app bundle search path during cross compiling (#14603)
This commit is contained in:
Brad King
2013-12-03 09:30:18 -05:00
committed by CMake Topic Stage
+3 -1
View File
@@ -341,7 +341,9 @@ foreach(_path
list(APPEND _apps_paths "${_apps}")
endif()
endforeach()
list(REMOVE_DUPLICATES _apps_paths)
if(_apps_paths)
list(REMOVE_DUPLICATES _apps_paths)
endif()
set(CMAKE_SYSTEM_APPBUNDLE_PATH
${_apps_paths})
unset(_apps_paths)