From ef9766656346de696a785b5df724b83d15324dff Mon Sep 17 00:00:00 2001 From: shdown Date: Tue, 17 Jan 2017 16:33:18 +0300 Subject: [PATCH] CMakeLists.txt: REMOVE_ITEM removes by value, not by index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …Oooops. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3550555..eea83aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ set (PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/lib/luastatus/plugins") function (luastatus_add_barlib_or_plugin destdir name) set (sources ${ARGV}) - list (REMOVE_ITEM sources 0 1) + list (REMOVE_AT sources 0 1) add_library ("${name}" MODULE ${sources}) set_target_properties ("${name}" PROPERTIES PREFIX "") install (TARGETS "${name}" DESTINATION "${destdir}")