summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoram Bae <boram21.bae@samsung.com>2021-01-26 18:27:04 +0900
committerBoram Bae <boram21.bae@samsung.com>2021-01-26 18:27:04 +0900
commit4242016a0151b906a1e7e45f105feb9ddac9d8fa (patch)
treef8a88f606dadb2750c18b6e7fe325af414075dbb
parent552c0d0105a7e2b2f5daf6502b3cd9f48584f252 (diff)
downloadsensor-4242016a0151b906a1e7e45f105feb9ddac9d8fa.tar.gz
sensor-4242016a0151b906a1e7e45f105feb9ddac9d8fa.tar.bz2
sensor-4242016a0151b906a1e7e45f105feb9ddac9d8fa.zip
* Remove redundant defines * Remove meaningless slash Change-Id: I51426f32d532e4cdb038c0ebeec9ba346831fdc1 Signed-off-by: Boram Bae <boram21.bae@samsung.com>
-rw-r--r--CMakeLists.txt4
-rw-r--r--packaging/hal-api-sensor.spec2
2 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index abbe3dc..3501524 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(hal-api-sensor CXX)
-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-SET(EXEC_PREFIX "${CMAKE_INSTALL_PREFIX}/bin")
-SET(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include")
-SET(LIBDIR ${CMAKE_LIBDIR_PREFIX})
SET(VERSION_MAJOR 0)
SET(VERSION "${VERSION_MAJOR}.1.0")
diff --git a/packaging/hal-api-sensor.spec b/packaging/hal-api-sensor.spec
index 96fcc94..a06a530 100644
--- a/packaging/hal-api-sensor.spec
+++ b/packaging/hal-api-sensor.spec
@@ -42,7 +42,7 @@ Requires: %{name} = %{version}-%{release}
%build
cp %{SOURCE1} .
cp %{SOURCE2} .
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_LIBDIR_PREFIX=%{_libdir}/
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_LIBDIR_PREFIX=%{_libdir}
make %{?jobs:-j%jobs}
%install