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
commit da47c9733b
1 changed files with 3 additions and 1 deletions

View File

@ -341,7 +341,9 @@ foreach(_path
list(APPEND _apps_paths "${_apps}") list(APPEND _apps_paths "${_apps}")
endif() endif()
endforeach() endforeach()
list(REMOVE_DUPLICATES _apps_paths) if(_apps_paths)
list(REMOVE_DUPLICATES _apps_paths)
endif()
set(CMAKE_SYSTEM_APPBUNDLE_PATH set(CMAKE_SYSTEM_APPBUNDLE_PATH
${_apps_paths}) ${_apps_paths})
unset(_apps_paths) unset(_apps_paths)