Skip to content
Permalink
Browse files

Merge PR #2895: TestCryptographicRandom: add QT_NO_OPENGL to fix 'mak…

…e check' for win32-msvc builds.
  • Loading branch information...
mkrautz committed Mar 1, 2017
2 parents a58d708 + fc878e0 commit e848e5629a17f505a0524e03993aa0a732772a5b
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/tests/TestCryptographicRandom/TestCryptographicRandom.pro
@@ -12,6 +12,14 @@ CONFIG += testcase
CONFIG += qt warn_on
CONFIG -= app_bundle
LANGUAGE = C++

# We build this test with 'gui' in QT,
# but we include the QtGui headers from
# murmur_pch.h. Define QT_NO_OPENGL to
# avoid build errors about a missing GLES/gles2.h
# header.
DEFINES += QT_NO_OPENGL

TARGET = TestCryptographicRandom
SOURCES = TestCryptographicRandom.cpp CryptographicRandom.cpp arc4random_uniform.cpp
HEADERS = CryptographicHash.h

0 comments on commit e848e56

Please sign in to comment.
You can’t perform that action at this time.