Skip to content

Commit ec2aad0

Browse files
authored
[nnc] Disable nncc_common option (#15257)
This will disable nncc_common option to prevent _GLIBCXX17_DEPRECATED warning as error. ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
1 parent 84a3a26 commit ec2aad0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/nnc/cmake/utils.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ endfunction()
4141
# add nnc library as target
4242
function(nnc_add_library)
4343
add_library(${ARGV})
44-
target_link_libraries(${ARGV0} PRIVATE nncc_common)
44+
# to prevent _GLIBCXX17_DEPRECATED warning as error
45+
# target_link_libraries(${ARGV0} PRIVATE nncc_common)
4546
target_link_libraries(${ARGV0} PUBLIC nncc_coverage)
4647

4748
get_target_property(LIBS ${NNC_TARGET_EXECUTABLE} LINK_LIBRARIES)

0 commit comments

Comments
 (0)