Add neccessary dependency management.
authorJunfeng Dong <junfeng.dong@intel.com>
Tue, 21 May 2013 10:20:33 +0000 (18:20 +0800)
committerJunfeng Dong <junfeng.dong@intel.com>
Tue, 21 May 2013 10:26:25 +0000 (18:26 +0800)
  The commint is to fix the build error "cannot find -losp-shell-core"
  when not using "-j jobs".

Change-Id: I962cf63724026f5134c0138c44b3513a5e54fc69

CMakeLists.txt
packaging/osp-shell.spec

index 240a0e9..01535c0 100644 (file)
@@ -30,6 +30,8 @@ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(src/core)
 
+ADD_DEPENDENCIES(osp-shell osp-shell-core)
+
 # pkgconfig file
 CONFIGURE_FILE(osp-shell.pc.in ${CMAKE_SOURCE_DIR}/osp-shell.pc @ONLY)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/osp-shell.pc DESTINATION lib/pkgconfig)
index 266367a..2424331 100755 (executable)
@@ -5,7 +5,7 @@ Name:       osp-shell
 Summary:    The Shell library of OSP 
 Version:    1.2.1.0
 Release:    12
-Group:      TO_BE/FILLED_IN
+Group:      System/Libraries
 License:    Apache License, Version 2.0 or Flora
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake