summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-08-24 14:14:43 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2013-08-24 14:14:51 (GMT)
commit54e068a367fb4b8448f634314d765c280c7c35b3 (patch)
tree515b647a006389fd8e752ae9fc524073fbdd7f44
parent3ef29c0f1ade956abe04068e6091d848cd176f7f (diff)
downloadlibmedia-thumbnail-54e068a367fb4b8448f634314d765c280c7c35b3.zip
libmedia-thumbnail-54e068a367fb4b8448f634314d765c280c7c35b3.tar.gz
libmedia-thumbnail-54e068a367fb4b8448f634314d765c280c7c35b3.tar.bz2
Do not install in /usr/localrefs/changes/79/8579/1
We should never install anything into /usr/local, this is reserved for the user of the system. System binaries need to be installed under /usr per the FHS. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 14f2635..548d4a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,6 @@ SET(PACKAGE ${PROJECT_NAME})
SET(PKGNAME "com.${VENDOR}.${PACKAGE}")
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(BINDIR "${PREFIX}/bin")
-SET(LOCALBINDIR "${PREFIX}/local/bin")
SET(DATADIR "${PREFIX}/share")
SET(EXEC_PREFIX "\${prefix}")
SET(INCLUDEDIR "\${prefix}/include")
@@ -95,7 +94,7 @@ INSTALL(TARGETS media-thumbnail-server DESTINATION ${BINDIR})
ADD_EXECUTABLE(test-thumb ${TEST-THUMB})
TARGET_LINK_LIBRARIES(test-thumb ${pkgs_LDFLAGS} ${MEDIATHUMB-LIB} )
-INSTALL(TARGETS test-thumb DESTINATION ${LOCALBINDIR})
+INSTALL(TARGETS test-thumb DESTINATION ${BINDIR})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/media-thumbnail.h DESTINATION include/${MEDIATHUMB-LIB})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/media-thumbnail-private.h DESTINATION include/${MEDIATHUMB-LIB})