From fe14be38c3ad5c90929b43eca7ab1d26f8d5a93c Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 7 May 2011 22:46:44 +0000 Subject: [PATCH] Install spotifyblob in the right place on mac --- spotifyblob/blob/CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/spotifyblob/blob/CMakeLists.txt b/spotifyblob/blob/CMakeLists.txt index 1f0582a33..35f70afb6 100644 --- a/spotifyblob/blob/CMakeLists.txt +++ b/spotifyblob/blob/CMakeLists.txt @@ -39,9 +39,15 @@ target_link_libraries(clementine-spotifyblob clementine-spotifyblob-messages ) -install(TARGETS clementine-spotifyblob - RUNTIME DESTINATION bin -) +if(APPLE) + install(TARGETS clementine-spotifyblob + RUNTIME DESTINATION ${CMAKE_BINARY_DIR}/clementine.app/Contents/MacOS/ + ) +else(APPLE) + install(TARGETS clementine-spotifyblob + RUNTIME DESTINATION bin + ) +endif(APPLE) if(LINUX) # Versioned name of the blob