Use cmake macro in spec file 42/120742/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 24 Mar 2017 03:55:10 +0000 (12:55 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 24 Mar 2017 03:55:10 +0000 (12:55 +0900)
Change-Id: Ie98f24ff1894bad216c63d5427abb4f266d933f6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/ise-default.spec

index b10ff17..276e5eb 100644 (file)
@@ -72,8 +72,7 @@ CXXFLAGS+=" -D_IVI";
 
 rm -rf CMakeFiles
 rm -rf CMakeCache.txt
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-        -DTARGET=%{?profile} \
+%cmake . -DTARGET=%{?profile} \
         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
         -Dwith_cbhm=%{WITH_CBHM}