File: CheckCompilerFlagAndEnableIt.cmake

package info (click to toggle)
darktable 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,236 kB
  • sloc: ansic: 200,593; cpp: 23,773; xml: 10,142; lisp: 7,084; sh: 2,489; perl: 1,701; ruby: 1,155; python: 426; makefile: 289; awk: 110; asm: 46
file content (7 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
include(CheckCCompilerFlagAndEnableIt)
include(CheckCXXCompilerFlagAndEnableIt)

macro (CHECK_COMPILER_FLAG_AND_ENABLE_IT _FLAG)
  CHECK_C_COMPILER_FLAG_AND_ENABLE_IT(${_FLAG})
  CHECK_CXX_COMPILER_FLAG_AND_ENABLE_IT(${_FLAG})
endmacro ()