changeset 89:9fa11151f492 release-2.0

Fix #476: INSTALL option given twice The custom function defined INSTALL option twice resulting in an error in recent CMake versions. Task: #476 Reported by: Peuc Errata: 20160418
author David Demelier <markand@malikania.fr>
date Mon, 18 Apr 2016 19:52:38 +0200
parents d421d73b34e5
children de1c1e4a5dbb
files cmake/function/IrccdDefineExecutable.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/function/IrccdDefineExecutable.cmake	Sun Mar 13 22:34:07 2016 +0100
+++ b/cmake/function/IrccdDefineExecutable.cmake	Mon Apr 18 19:52:38 2016 +0200
@@ -35,7 +35,7 @@
 
 function(irccd_define_executable)
 	set(options INSTALL PRIVATE)
-	set(oneValueArgs TARGET INSTALL)
+	set(oneValueArgs TARGET)
 	set(multiValueArgs SOURCES FLAGS LIBRARIES INCLUDES)
 
 	cmake_parse_arguments(EXE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
@@ -76,4 +76,4 @@
 			RUNTIME DESTINATION ${WITH_BINDIR}
 		)
 	endif ()
-endfunction()
\ No newline at end of file
+endfunction()