Set CMake policy CMP0092

Disable cmake's automatic /W3 for MSVC
pull/3335/head
RichardTea 2020-07-17 11:58:17 +01:00
parent 8c60879485
commit ce133e5add
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#----------------------------------------------------------------------
SET(CMAKE_POLICY_DEFAULT_CMP0074 NEW)
cmake_policy(SET CMP0092 NEW)
CMAKE_MINIMUM_REQUIRED( VERSION 3.0 )