File: CheckCompilerFlagAndEnableIt.cmake

package info (click to toggle)
darktable 5.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,864 kB
  • sloc: ansic: 361,898; cpp: 102,446; xml: 19,813; lisp: 14,539; sh: 3,771; javascript: 3,264; perl: 1,925; python: 1,485; ruby: 975; makefile: 543; asm: 46; sql: 38; awk: 21
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 ()