diff options
author | Vito Gamberini <vito.gamberini@kitware.com> | 2024-07-22 14:34:45 (GMT) |
---|---|---|
committer | Vito Gamberini <vito.gamberini@kitware.com> | 2024-07-29 17:14:41 (GMT) |
commit | 35734c8de3013c9e4bd2b2693640d2bacd39e49c (patch) | |
tree | b50e7351738fb97aa778852b1725951be76c6652 /Utilities | |
parent | e6453c200e707f2e15e055c90497e4655cf57847 (diff) | |
download | CMake-35734c8de3013c9e4bd2b2693640d2bacd39e49c.zip CMake-35734c8de3013c9e4bd2b2693640d2bacd39e49c.tar.gz CMake-35734c8de3013c9e4bd2b2693640d2bacd39e49c.tar.bz2 |
PkgC: Add llpkgc to build
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmllpkgc/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Utilities/cmllpkgc/CMakeLists.txt b/Utilities/cmllpkgc/CMakeLists.txt new file mode 100644 index 0000000..88a382d --- /dev/null +++ b/Utilities/cmllpkgc/CMakeLists.txt @@ -0,0 +1,9 @@ +# Disable warnings to avoid changing 3rd party code. +if(CMAKE_C_COMPILER_ID MATCHES + "^(GNU|LCC|Clang|AppleClang|IBMClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") +elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall") +endif() + +add_library(cmllpkgc STATIC llpkgc.c llpkgc__internal.c) |