From e3f1b28a5ae984356a0b2cb89e02fc78f083527c Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 28 Aug 2014 22:31:21 +0000 Subject: [PATCH] updated install bin destination git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@405 620bd6b2-0a58-f614-fd9a-1bd335dccda9 --- app/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 3dd1a99f..beb2e1c6 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -66,7 +66,7 @@ ENDIF() # Installation stuff #--------------------------- INSTALL(TARGETS find_object_app - RUNTIME DESTINATION bin COMPONENT runtime + RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT runtime BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime) #--------------------------- @@ -109,7 +109,7 @@ IF((APPLE AND BUILD_AS_BUNDLE) OR WIN32) # directories to look for dependencies SET(DIRS ${QT_LIBRARY_DIRS} ${PROJECT_SOURCE_DIR}/bin) IF(APPLE) - SET(DIRS ${DIRS} /usr/local) + SET(DIRS ${DIRS} /usr/local /usr/local/lib) ENDIF(APPLE) # Now the work of copying dependencies into the bundle/package