Browse Source

cmake: add missing bracket.

hl_urbicide
Andrey Akhmichin 2 years ago
parent
commit
d8dea3cc2b
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -117,7 +117,7 @@ check_include_file("tgmath.h" HAVE_TGMATH_H)
if(HAVE_TGMATH_H) if(HAVE_TGMATH_H)
check_c_source_compiles("#include <tgmath.h> check_c_source_compiles("#include <tgmath.h>
const float val = 2, val2 = 3; 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}) if(${HAVE_VALID_TGMATH_H})
add_definitions(-DHAVE_TGMATH_H) add_definitions(-DHAVE_TGMATH_H)
endif() endif()

Loading…
Cancel
Save