[CMAKE] Replace custom functions to built-in ones

add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
This commit is contained in:
Victor Perevertkin 2020-04-16 15:59:38 +03:00
parent 480f729f6d
commit 7e069ccdb2
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
93 changed files with 163 additions and 180 deletions

View file

@ -3,5 +3,5 @@ add_host_tool(hpp hpp.c)
if(MSVC)
# Disable warning "'=': conversion from 'a' to 'b', possible loss of data"
add_target_compile_flags(hpp "/wd4244")
target_compile_options(hpp PRIVATE "/wd4244")
endif()