Fix build for x64 arch: Remove harcoded path 78/12478/1
authorJean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
Fri, 15 Nov 2013 10:49:32 +0000 (11:49 +0100)
committerJean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
Fri, 15 Nov 2013 10:56:24 +0000 (11:56 +0100)
Change-Id: I4310f1914a9adfbf42b10fd4b59715e87c858007
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
bt-api/CMakeLists.txt
bt-api/bluetooth-api.pc.in
bt-api/bt-service-api.pc.in

index 44c34b0..c8ef1a4 100644 (file)
@@ -79,8 +79,8 @@ SET_TARGET_PROPERTIES(bluetooth-api PROPERTIES SOVERSION ${VERSION_MAJOR})
 SET_TARGET_PROPERTIES(bluetooth-api PROPERTIES VERSION ${VERSION})
 TARGET_LINK_LIBRARIES(bluetooth-api ${packages_LDFLAGS})
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-api.pc.in ${CMAKE_CURRENT_BINARY_DIR}/bluetooth-api.pc @ONLY)
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/bluetooth-api.pc DESTINATION lib/pkgconfig)
-INSTALL(TARGETS bluetooth-api DESTINATION lib COMPONENT RuntimeLibraries)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/bluetooth-api.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+INSTALL(TARGETS bluetooth-api DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
 
 FOREACH(hfile ${HEADERS})
        INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/${hfile} DESTINATION include/bt-service)
index c7210a4..e577fa3 100644 (file)
@@ -1,6 +1,6 @@
 prefix=@PREFIX@
 exec_prefix=@EXEC_PREFIX@
-libdir=@LIBDIR@
+libdir=@LIB_INSTALL_DIR@
 includedir=@INCLUDEDIR@
 
 Name: bluetooth-api
index d0d81d4..0012031 100644 (file)
@@ -1,6 +1,6 @@
 prefix=@PREFIX@
 exec_prefix=@EXEC_PREFIX@
-libdir=@LIBDIR@
+libdir=@LIB_INSTALL_DIR@
 includedir=@INCLUDEDIR@
 
 Name: bt-service