You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
--- a/cmake/modules/PopplerMacros.cmake 2018-10-21 18:47:56.000000000 +0200
|
|
+++ b/cmake/modules/PopplerMacros.cmake 2018-11-01 10:43:10.898347039 +0100
|
|
@@ -147,28 +147,6 @@
|
|
endif(GCC_HAS_AS_NEEDED)
|
|
endif (CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
|
-# set the default compile warnings
|
|
- set(_warn "-Wall -Wextra -Wpedantic")
|
|
- set(_warn "${_warn} -Wno-unused-parameter")
|
|
- set(_warn "${_warn} -Wcast-align")
|
|
- set(_warn "${_warn} -Wformat-security")
|
|
- set(_warn "${_warn} -Wframe-larger-than=65536")
|
|
- set(_warn "${_warn} -Wmissing-format-attribute")
|
|
- set(_warn "${_warn} -Wnon-virtual-dtor")
|
|
- set(_warn "${_warn} -Woverloaded-virtual")
|
|
- set(_warn "${_warn} -Wmissing-declarations")
|
|
- set(_warn "${_warn} -Wundef")
|
|
- set(_warn "${_warn} -Wzero-as-null-pointer-constant")
|
|
-
|
|
- # set extra warnings
|
|
- set(_warnx "${_warnx} -Wconversion")
|
|
- set(_warnx "${_warnx} -Wshadow")
|
|
-
|
|
- set(DEFAULT_COMPILE_WARNINGS "${_warn}")
|
|
- set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}")
|
|
-endif()
|
|
-
|
|
if(CMAKE_C_COMPILER MATCHES "icc")
|
|
set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
|
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|