SWDEV-362930 - Fixes packging issue Windows using makefile (#3054)

Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test

Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c
Этот коммит содержится в:
ROCm CI Service Account
2022-11-05 04:18:13 +05:30
коммит произвёл GitHub
родитель d7fafa8696
Коммит 652d142b86
+7
Просмотреть файл
@@ -19,6 +19,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.16.8)
# vc 19.31.31107.0 gives issue while packaging using makefile
# To avoid error NMAKE : fatal error U1065: invalid option 'w'
# Windows to use Ninja generator like other projects
# to skip the simple compiler test
set(CMAKE_C_COMPILER_WORKS 1)
set(CMAKE_CXX_COMPILER_WORKS 1)
project(tests)
MACRO(SUBDIRLIST result curdir)