From c6586cf1643e0c3f7ec9084b865f347a680819d6 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Thu, 3 May 2018 16:13:39 +0800 Subject: [PATCH] Fix macro target_create_scripts --- cmake/Common.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Common.cmake b/cmake/Common.cmake index b7b4c73..fcca41d 100755 --- a/cmake/Common.cmake +++ b/cmake/Common.cmake @@ -48,8 +48,8 @@ endmacro() # [BIN_DIR bin_dir] # [DLL_SEARCH_PATHS path1 path2 ...]) macro(target_create_scripts NAME) - set(options BIN_DIR) - set(oneValueArgs) + set(options) + set(oneValueArgs BIN_DIR) set(multiValueArgs DLL_SEARCH_PATHS) cmake_parse_arguments(THIS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})