comparison cmake/IrccdOptions.cmake @ 256:f04acabfbbe5

CMake: switch to NSIS with various fixes, closes #533
author David Demelier <markand@malikania.fr>
date Mon, 12 Sep 2016 17:54:27 +0200
parents 11045c180db9
children 60b94daf4d24
comparison
equal deleted inserted replaced
255:233366c94ddb 256:f04acabfbbe5
210 # ------------------------------------------------------------------- 210 # -------------------------------------------------------------------
211 # 211 #
212 # Do not move this section because irccd's CMake functions requires the IRCCD_PACKAGE value. 212 # Do not move this section because irccd's CMake functions requires the IRCCD_PACKAGE value.
213 # 213 #
214 214
215 find_package(QtIFW)
216
217 set(IRCCD_PACKAGE FALSE) 215 set(IRCCD_PACKAGE FALSE)
218 216
219 if (NOT WITH_HTML) 217 if (NOT WITH_HTML)
220 set(IRCCD_PACKAGE_MSG "No (HTML documentation disabled)") 218 set(IRCCD_PACKAGE_MSG "No (HTML documentation disabled)")
221 elseif (NOT WIN32)
222 set(IRCCD_PACKAGE_MSG "No (only for Windows)")
223 elseif (NOT QtIFW_FOUND)
224 set(IRCCD_PACKAGE_MSG "No (QtIFW not found)")
225 else () 219 else ()
226 # Now check that a plugin has not been disabled. 220 # Now check that a plugin has not been disabled.
227 set(IRCCD_PACKAGE TRUE) 221 set(IRCCD_PACKAGE TRUE)
228 set(IRCCD_PACKAGE_MSG "Yes") 222 set(IRCCD_PACKAGE_MSG "Yes")
229 223