Skip to content

Commit e25075d

Browse files
committed
Fix minor bug in cmake (target specific flag was applied to others)
1 parent 8ec194e commit e25075d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ else()
2828
add_library(ndn-lite STATIC)
2929
endif()
3030
include(${DIR_CMAKEFILES}/ndnlite.cmake)
31-
target_compile_options(ndn-lite PUBLIC -Werror)
31+
target_compile_options(ndn-lite PRIVATE -Werror)
3232

3333
# Adaptation
3434
include(${DIR_CMAKEFILES}/adaptation.cmake)

0 commit comments

Comments
 (0)