support 64 bits arch build 19/23619/3
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Mon, 30 Jun 2014 09:34:47 +0000 (11:34 +0200)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Mon, 4 Aug 2014 14:08:37 +0000 (16:08 +0200)
Change-Id: I56fead9ae4880b0abca16adfd0d2548ffbb7c701
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
CMakeLists.txt

index 9e906bb..34b8bd5 100644 (file)
@@ -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