From: Sam hartman Date: Fri, 23 Jan 2015 20:12:08 +0000 (+0000) Subject: Use gnu installation directories X-Git-Url: http://www.project-moonshot.org/gitweb/?p=gssweb.git;a=commitdiff_plain;h=2357d7f6babeeee743e55ef9bcf3806af96aa63f Use gnu installation directories --- diff --git a/json_gssapi/CMakeLists.txt b/json_gssapi/CMakeLists.txt index df15fd4..90dad35 100644 --- a/json_gssapi/CMakeLists.txt +++ b/json_gssapi/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 2.8) include(GenerateExportHeader) +include(GNUInstallDirs) project(json_gssapi) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/ ${CMAKE_CURRENT_BINARY_DIR}) @@ -85,8 +86,8 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/") find_package (CPPUNIT) install(TARGETS json_gssapi jsongssapi - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) add_subdirectory(src)