Fossil SCM

fossil-scm / compat / zlib / contrib / gcc_gvmat64 / CMakeLists.txt
Source Blame History 19 lines
6ea30fb… florian 1 enable_language(ASM)
6ea30fb… florian 2
6ea30fb… florian 3 # Need to push CMAKE_ASM_COMPILE_OBJECT to cache as otherwise it's not
6ea30fb… florian 4 # available in top-level
6ea30fb… florian 5
6ea30fb… florian 6 set(CMAKE_ASM_COMPILE_OBJECT ${CMAKE_ASM_COMPILE_OBJECT} CACHE INTERNAL "" FORCE)
6ea30fb… florian 7
6ea30fb… florian 8 if(MSVC)
6ea30fb… florian 9 #cmake 4.1 doesn't consider cl an asm compiler
6ea30fb… florian 10 cmake_policy(SET CMP0194 NEW)
6ea30fb… florian 11 endif(MSVC)
6ea30fb… florian 12
6ea30fb… florian 13 if(ZLIB_BUILD_SHARED)
6ea30fb… florian 14 target_sources(zlib PRIVATE gvmat64.S)
6ea30fb… florian 15 endif(ZLIB_BUILD_SHARED)
6ea30fb… florian 16
6ea30fb… florian 17 if(ZLIB_BUILD_STATIC)
6ea30fb… florian 18 target_sources(zlibstatic PRIVATE gvmat64.S)
6ea30fb… florian 19 endif(ZLIB_BUILD_STATIC)

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button