From 27799bc1878864cf4b3dbe0b8bdecb384e756e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 4 Sep 2016 17:28:54 +0200 Subject: [PATCH] Remove unnecessary compiler options --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5f4681775..2bb66d62e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,9 +90,6 @@ if(NOT MINGW) endif() if (LAUNCHPAD_BUILD) - if (CMAKE_SIZEOF_VOID_P EQUAL 8) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast") - endif() # Launchpad turns on -Wdate-time for compilers that support it, this shouldn't break our build set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -Wno-error=date-time") else()