diff options
author | Brent Cook <busterb@gmail.com> | 2024-10-08 04:47:26 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-10-08 04:49:46 -0500 |
commit | bd9978373f2811446a725df41f09398d7d751af9 (patch) | |
tree | dbae7d2aa49030d1dbbb263daf93f1168e36157a /CMakeLists.txt | |
parent | 9a399d26a05396d9cfe1d1f6232e81f37c2acf21 (diff) | |
download | portable-bd9978373f2811446a725df41f09398d7d751af9.tar.gz portable-bd9978373f2811446a725df41f09398d7d751af9.tar.bz2 portable-bd9978373f2811446a725df41f09398d7d751af9.zip |
don't override language property for ASM files as C
As of CMake 3.20, this causes the files to be built _as_ C, instead of
just with a C compiler. This also properly specifies the languages in
the project call.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b6294b..9c3d0d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -3,7 +3,7 @@ if(MSVC) | |||
3 | cmake_policy(SET CMP0091 NEW) | 3 | cmake_policy(SET CMP0091 NEW) |
4 | endif() | 4 | endif() |
5 | 5 | ||
6 | project (LibreSSL C ASM) | 6 | project(LibreSSL LANGUAGES C ASM) |
7 | 7 | ||
8 | include(CheckFunctionExists) | 8 | include(CheckFunctionExists) |
9 | include(CheckSymbolExists) | 9 | include(CheckSymbolExists) |