Do not use plain signature on target_link_library (#242)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 25 May 2018 00:12:06 +0000 (09:12 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 25 May 2018 00:12:06 +0000 (09:12 +0900)
commit7e059ea91aa34440d1810ed35141933222e10262
tree0e5c7ca567232b28bf61f05d68a5afa5c0f6a23c
parentf249003212748a9920e3bd65c99d443bd2955fb4
Do not use plain signature on target_link_library (#242)

From 2.8.12, CMake disallow the mix of plain and keword
target_link_libraries signature (CMP0023).

This policy results in cmake configuration failure when BUILD_COVERAGE
is turned on.

This commit revises add_nncc_library in order to enforce the use of keyword
signature (e.g. PUBLIC) for following target_link_library calls.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
CMakeLists.txt
libs/frontend/caffe/CMakeLists.txt