Fix macro target_create_scripts

This commit is contained in:
John Zhao 2018-05-03 16:13:39 +08:00
parent b0b12c2cc7
commit c6586cf164

View File

@ -48,8 +48,8 @@ endmacro()
# [BIN_DIR bin_dir] # [BIN_DIR bin_dir]
# [DLL_SEARCH_PATHS path1 path2 ...]) # [DLL_SEARCH_PATHS path1 path2 ...])
macro(target_create_scripts NAME) macro(target_create_scripts NAME)
set(options BIN_DIR) set(options)
set(oneValueArgs) set(oneValueArgs BIN_DIR)
set(multiValueArgs DLL_SEARCH_PATHS) set(multiValueArgs DLL_SEARCH_PATHS)
cmake_parse_arguments(THIS "${options}" "${oneValueArgs}" cmake_parse_arguments(THIS "${options}" "${oneValueArgs}"
"${multiValueArgs}" ${ARGN}) "${multiValueArgs}" ${ARGN})