diff options
author | Brad King <brad.king@kitware.com> | 2013-12-03 14:30:18 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-12-03 14:30:18 (GMT) |
commit | da47c9733bd66b48bb23f4f3782bb61108d2af53 (patch) | |
tree | e0e5265018c5c9da4fdc379a9c02b9c4c8a82c74 /Modules | |
parent | c1612dbd23a8f0e7f25a30a1e6a5025351e58dff (diff) | |
parent | 3189ed34b819de1a67c22ecd446d815ac61649ce (diff) | |
download | CMake-da47c9733bd66b48bb23f4f3782bb61108d2af53.zip CMake-da47c9733bd66b48bb23f4f3782bb61108d2af53.tar.gz CMake-da47c9733bd66b48bb23f4f3782bb61108d2af53.tar.bz2 |
Merge topic 'osx-cross-compile-fixup'
3189ed3 OS X: Fix app bundle search path during cross compiling (#14603)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index f3ec441..fc3f87e 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -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) |