From a6ea9c19154795d758f53e67da40a01ddaa96a9e Mon Sep 17 00:00:00 2001 From: Martin Beseda <martin.beseda@vsb.cz> Date: Tue, 26 Feb 2019 20:21:55 +0100 Subject: [PATCH] ENH: Removed GFortran linking --- src/CMakeLists.txt | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8e291704..8b1bb2e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -68,11 +68,11 @@ if ("${BUILD_LIB}" STREQUAL "yes") set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) - # GFortran linking - set(GFORT "") - if(NOT WIN32) - set(GFORT gfortran) - endif() +# # GFortran linking +# set(GFORT "") +# if(NOT WIN32) +# set(GFORT gfortran) +# endif() target_link_libraries( lib4neuro @@ -85,7 +85,7 @@ if ("${BUILD_LIB}" STREQUAL "yes") ${OpenBLAS_LIBRARIES} ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} - ${GFORT} +# ${GFORT} ) target_include_directories( @@ -100,17 +100,6 @@ if ("${BUILD_LIB}" STREQUAL "yes") ${Boost_INCLUDE_DIRS} ${ARMADILLO_INCLUDE_DIR} ) -# -# if(OpenBLAS_LOCAL) -# add_custom_command( -# TARGET lib4neuro -# PRE_BUILD -# COMMAND cmake . -# COMMAND cmake --build . -j ${N_CORES} -# WORKING_DIRECTORY ${ROOT_DIR}/external_dependencies/OpenBLAS -# COMMENT "Compiling OpenBLAS" -# ) -# endif() set_target_properties( lib4neuro -- GitLab