Revert "cmake: add zephyr_cc_option_nocheck"

This reverts commit a01f2de734.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2017-11-29 10:16:43 +01:00 committed by Anas Nashif
commit bc2404aa4d

View file

@ -103,12 +103,6 @@ function(zephyr_cc_option)
endforeach() endforeach()
endfunction() endfunction()
function(zephyr_cc_option_nocheck)
foreach(arg ${ARGV})
target_compile_options(zephyr_interface INTERFACE ${arg})
endforeach()
endfunction()
function(zephyr_cc_option_fallback option1 option2) function(zephyr_cc_option_fallback option1 option2)
target_cc_option_fallback(zephyr_interface INTERFACE ${option1} ${option2}) target_cc_option_fallback(zephyr_interface INTERFACE ${option1} ${option2})
endfunction() endfunction()