qt-easy-build icon indicating copy to clipboard operation
qt-easy-build copied to clipboard

Improve build_qt_with_openssl.cmake to check that generator bitness matches requested one

Open jcfr opened this issue 10 years ago • 0 comments

The idea would be to edit build_qt_with_openssl.cmake and add code like the one posted below to notify the developer early if the wrong Visual Studio command line prompt has been used.

if(BITS EQUAL 64 AND NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
  message(FATAL_ERROR "Requested bitness does NOT match select generator and/or compiler.")
endif()

jcfr avatar Aug 27 '15 21:08 jcfr