File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -188,24 +188,26 @@ else ()
188188 set (REST_MPFR OFF )
189189endif (${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 )
205206else ()
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 #####
211213find_library (CURL_LIB curl)
You can’t perform that action at this time.
0 commit comments