Skip to content

Commit 4ed69d3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent af542c0 commit 4ed69d3

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

CMakeLists.txt

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -188,24 +188,26 @@ else ()
188188
set(REST_MPFR OFF)
189189
endif (${REST_MPFR} MATCHES "ON")
190190

191-
if( ((${REST_ALL_LIBS} MATCHES "ON") AND (NOT DEFINED RESTLIB_AXION)) OR (${RESTLIB_AXION} MATCHES "ON") )
192-
# GSL #### Find GSL
193-
find_package(GSL REQUIRED)
191+
if (((${REST_ALL_LIBS} MATCHES "ON") AND (NOT DEFINED RESTLIB_AXION))
192+
OR (${RESTLIB_AXION} MATCHES "ON"))
193+
# GSL #### Find GSL
194+
find_package(GSL REQUIRED)
194195

195-
# Include GSL directories
196-
set(external_include_dirs ${external_include_dirs} ${GSL_INCLUDE_DIRS})
196+
# Include GSL directories
197+
set(external_include_dirs ${external_include_dirs} ${GSL_INCLUDE_DIRS})
197198

198-
# Link GSL libraries
199-
set(external_libs ${external_libs};${GSL_LIBRARIES})
199+
# Link GSL libraries
200+
set(external_libs ${external_libs};${GSL_LIBRARIES})
200201

201-
message(STATUS "Found GSL libraries : ${GSL_LIBRARIES}")
202-
message(STATUS "GSL headers : ${GSL_INCLUDE_DIRS}")
202+
message(STATUS "Found GSL libraries : ${GSL_LIBRARIES}")
203+
message(STATUS "GSL headers : ${GSL_INCLUDE_DIRS}")
203204

204-
set(REST_GSL ON)
205+
set(REST_GSL ON)
205206
else ()
206-
set(REST_GSL OFF)
207-
message(STATUS "GSL libraries not required")
208-
endif( ((${REST_ALL_LIBS} MATCHES "ON") AND (NOT DEFINED RESTLIB_AXION)) OR (${RESTLIB_AXION} MATCHES "ON") )
207+
set(REST_GSL OFF)
208+
message(STATUS "GSL libraries not required")
209+
endif (((${REST_ALL_LIBS} MATCHES "ON") AND (NOT DEFINED RESTLIB_AXION))
210+
OR (${RESTLIB_AXION} MATCHES "ON"))
209211

210212
# CURL #####
211213
find_library(CURL_LIB curl)

0 commit comments

Comments
 (0)