switched to older bash silencing syntax
@@ -6,7 +6,7 @@ set(GSLMD5 dba736f15404807834dc1c7b93e83b92)
find_package(GSL 2.4)
# If GSL is not installed, lets go ahead and compile it
-if(NOT GSL_FOUND )
+if( GSL_FOUND )
message(STATUS "GSL not found, downloading and compiling from source")
ExternalProject_Add(GSL
PREFIX GSL
@@ -17,7 +17,7 @@ if(NOT GSL_FOUND )
--prefix=${CMAKE_BINARY_DIR}/extern
--enable-shared=no
--with-pic=yes
- BUILD_COMMAND make -j8 &> out.log
+ BUILD_COMMAND make -j8 > out.log 2>&1
INSTALL_COMMAND make install
BUILD_IN_SOURCE 1)
set(GSL_LIBRARY_DIRS ${CMAKE_BINARY_DIR}/extern/lib/ )
