From d8dea3cc2be15fff98d4095d74cfe5d4008ab9e3 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Thu, 16 Jun 2022 12:04:30 +0500 Subject: [PATCH] cmake: add missing bracket. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a8c657c..11667593 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ check_include_file("tgmath.h" HAVE_TGMATH_H) if(HAVE_TGMATH_H) check_c_source_compiles("#include const float val = 2, val2 = 3; - int main(){ return (int)(-asin(val) + cos(val2));" HAVE_VALID_TGMATH_H ) + int main(){ return (int)(-asin(val) + cos(val2)); }" HAVE_VALID_TGMATH_H ) if(${HAVE_VALID_TGMATH_H}) add_definitions(-DHAVE_TGMATH_H) endif()