diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8e291704bd12ce75806eda94dac36181c9784cdf..8b1bb2e7961e63c96c5b3d49c47e6a44d5ed6b19 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