[packaging] Build CAPI by default. 43/75243/1
authorWoochan Lee <wc0917.lee@samsung.com>
Fri, 17 Jun 2016 06:45:23 +0000 (15:45 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Fri, 17 Jun 2016 06:45:53 +0000 (15:45 +0900)
Change-Id: I1ef95b3a41487c7c0006265cdfc88a063a7dded3

packaging/ui-viewmgr.spec

index 3c02f453bb9a9d72cbfccfd0c44acf798a1712f7..9a515a60195002a3a31bc16dc105955ac2e32048 100644 (file)
@@ -40,10 +40,10 @@ UI VIEW MANAGER library providing View management functionality(devel)
 
 %build
 
-%if "%{?target_language}" == "c"
-    cmake . -DTARGET_LANGUAGE="c"
-%else
+%if "%{?target_language}" == "c++"
     cmake . -DTARGET_LANGUAGE="c++"
+%else
+    cmake . -DTARGET_LANGUAGE="c"
 %endif
 
 cmake . -DCMAKE_INSTALL_PREFIX=/usr