File: Prebuilt.cmake

package info (click to toggle)
darktable 4.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 52,960 kB
  • sloc: ansic: 329,632; cpp: 90,717; xml: 18,803; lisp: 12,673; sh: 3,478; javascript: 3,264; perl: 1,888; python: 1,082; ruby: 972; makefile: 536; asm: 46; sql: 38; awk: 21
file content (9 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
macro (use_prebuilt_binary _binary)
  if(NOT STANDALONE)
    get_property(PREBUILT_PACKAGES TARGET prepare PROPERTY PREBUILT)
    list(FIND PREBUILT_PACKAGES ${_binary} _index)
    if(_index LESS 0)
      set_property(TARGET prepare APPEND PROPERTY PREBUILT ${_binary})
    endif(_index LESS 0)
  endif(NOT STANDALONE)
endmacro (use_prebuilt_binary _binary)