comparison plugins/CMakeLists.txt @ 1021:fab139c44f72

cmake: fix case issue
author David Demelier <markand@malikania.fr>
date Tue, 23 Feb 2021 16:58:31 +0100
parents 201ddc487807
children
comparison
equal deleted inserted replaced
1020:3dec26654d06 1021:fab139c44f72
39 option(IRCCD_WITH_PLUGIN_${opt} "Enable ${p} plugin" On) 39 option(IRCCD_WITH_PLUGIN_${opt} "Enable ${p} plugin" On)
40 endforeach () 40 endforeach ()
41 41
42 if (IRCCD_WITH_JS) 42 if (IRCCD_WITH_JS)
43 foreach (p ${JS_PLUGINS}) 43 foreach (p ${JS_PLUGINS})
44 string(TOUPPER ${p} p) 44 string(TOUPPER ${p} plg)
45 if (IRCCD_WITH_PLUGIN_${p}) 45 if (IRCCD_WITH_PLUGIN_${plg})
46 add_subdirectory(${p}) 46 add_subdirectory(${p})
47 endif () 47 endif ()
48 endforeach () 48 endforeach ()
49 endif () 49 endif ()
50 50