From 1faae36fddb535845d49b2d19d67c5abb13350c5 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 10 Feb 2017 18:41:44 +0100 Subject: [PATCH] Let cmake install executables on Unix in bin subdirectory not in lib. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99752 --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index c41fb3c..84aa60b 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -99,7 +99,7 @@ SET(BUILD_SHARED_LIBS ON) if(WIN32) set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "bin" LIBRARY DESTINATION "lib" ARCHIVE DESTINATION "lib") else() - set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "${EXPANDED_LIBDIR}" LIBRARY DESTINATION "${EXPANDED_LIBDIR}" ARCHIVE DESTINATION "${EXPANDED_LIBDIR}") + set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "${EXPANDED_BINDIR}" LIBRARY DESTINATION "${EXPANDED_LIBDIR}" ARCHIVE DESTINATION "${EXPANDED_LIBDIR}") endif() if (CYGWIN) -- 2.6.6