Browse Source

extdep: Removed add_dependencies call from CMakeLists

Small change to get rid of a warning in newer cmake versions.

Versions of cmake (>= 3.0) throw a warning on the add_dependecy
method for non-existant dependencies (add_dependency call before
target_link_libraries call).

Removed the call to add_dependency since target_link_libraries should
provide the same functionality for ozw and modbus dependencies.

Signed-off-by: Noel Eck <noel.eck@intel.com>
Noel Eck 8 years ago
parent
commit
edcaed90e6
4 changed files with 0 additions and 4 deletions
  1. 0
    1
      src/h803x/CMakeLists.txt
  2. 0
    1
      src/hwxpxx/CMakeLists.txt
  3. 0
    1
      src/ozw/CMakeLists.txt
  4. 0
    1
      src/t3311/CMakeLists.txt

+ 0
- 1
src/h803x/CMakeLists.txt View File

8
   set (reqlibname "libmodbus")
8
   set (reqlibname "libmodbus")
9
   include_directories(${MODBUS_INCLUDE_DIRS})
9
   include_directories(${MODBUS_INCLUDE_DIRS})
10
   upm_module_init()
10
   upm_module_init()
11
-  add_dependencies(${libname} ${MODBUS_LIBRARIES})
12
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
11
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
13
   if (BUILDSWIG)
12
   if (BUILDSWIG)
14
     if (BUILDSWIGNODE)
13
     if (BUILDSWIGNODE)

+ 0
- 1
src/hwxpxx/CMakeLists.txt View File

8
   set (reqlibname "libmodbus")
8
   set (reqlibname "libmodbus")
9
   include_directories(${MODBUS_INCLUDE_DIRS})
9
   include_directories(${MODBUS_INCLUDE_DIRS})
10
   upm_module_init()
10
   upm_module_init()
11
-  add_dependencies(${libname} ${MODBUS_LIBRARIES})
12
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
11
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
13
   if (BUILDSWIG)
12
   if (BUILDSWIG)
14
     if (BUILDSWIGNODE)
13
     if (BUILDSWIGNODE)

+ 0
- 1
src/ozw/CMakeLists.txt View File

8
   set (reqlibname "libopenzwave")
8
   set (reqlibname "libopenzwave")
9
   include_directories(${OPENZWAVE_INCLUDE_DIRS})
9
   include_directories(${OPENZWAVE_INCLUDE_DIRS})
10
   upm_module_init()
10
   upm_module_init()
11
-  add_dependencies(${libname} ${OPENZWAVE_LIBRARIES})
12
   target_link_libraries(${libname} ${OPENZWAVE_LIBRARIES})
11
   target_link_libraries(${libname} ${OPENZWAVE_LIBRARIES})
13
   if (BUILDSWIG)
12
   if (BUILDSWIG)
14
     if (BUILDSWIGNODE)
13
     if (BUILDSWIGNODE)

+ 0
- 1
src/t3311/CMakeLists.txt View File

8
   set (reqlibname "libmodbus")
8
   set (reqlibname "libmodbus")
9
   include_directories(${MODBUS_INCLUDE_DIRS})
9
   include_directories(${MODBUS_INCLUDE_DIRS})
10
   upm_module_init()
10
   upm_module_init()
11
-  add_dependencies(${libname} ${MODBUS_LIBRARIES})
12
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
11
   target_link_libraries(${libname} ${MODBUS_LIBRARIES})
13
   if (BUILDSWIG)
12
   if (BUILDSWIG)
14
     if (BUILDSWIGNODE)
13
     if (BUILDSWIGNODE)