From 5f953f969c2d10aabef99cb56fc0368f47f472e6 Mon Sep 17 00:00:00 2001 From: Corentin Lecouvey Date: Mon, 30 Jun 2014 11:34:47 +0200 Subject: [PATCH] support 64 bits arch build Change-Id: I56fead9ae4880b0abca16adfd0d2548ffbb7c701 Signed-off-by: Corentin Lecouvey --- CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e906bb..34b8bd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT("Tizen Bluetooth Framework" C) -SET(CMAKE_C_FLAGS "-O3 -Wall -Werror -DPLUGINDIR=\\\"/usr/lib/bluetooth-service/plugins\\\"") +SET(TEST_INSTALL_DIR "${LIB_INSTALL_DIR}/bluetooth-frwk-test/") +SET(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/bluetooth-service/plugins/") +SET(CMAKE_C_FLAGS "-O3 -Wall -Werror -DPLUGINDIR=\\\"${PLUGIN_INSTALL_DIR}\\\"") SET(TEST "test-flags") @@ -18,10 +20,6 @@ FOREACH(flag ${${TEST}_CFLAGS}) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}") ENDFOREACH(flag) -SET(LIB_INSTALL_DIR "/usr/lib/") -SET(TEST_INSTALL_DIR "${LIB_INSTALL_DIR}bluetooth-frwk-test/") -SET(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}bluetooth-service/plugins/") - IF(platform STREQUAL "Mobile") SET(MOBILE_FLAGS "mobile-flags") pkg_check_modules(${MOBILE_FLAGS} REQUIRED -- 2.7.4