aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-10-08 04:47:26 -0500
committerBrent Cook <busterb@gmail.com>2024-10-08 04:49:46 -0500
commitbd9978373f2811446a725df41f09398d7d751af9 (patch)
treedbae7d2aa49030d1dbbb263daf93f1168e36157a /CMakeLists.txt
parent9a399d26a05396d9cfe1d1f6232e81f37c2acf21 (diff)
downloadportable-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.txt2
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)
4endif() 4endif()
5 5
6project (LibreSSL C ASM) 6project(LibreSSL LANGUAGES C ASM)
7 7
8include(CheckFunctionExists) 8include(CheckFunctionExists)
9include(CheckSymbolExists) 9include(CheckSymbolExists)