Skip to content
Snippets Groups Projects
Commit b0093fe0 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Added missing PROPERTIES flag

parent dccce33e
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ FetchContent_Populate(OpenBLAS)
# Build OpenBLAS #
##################
execute_process(
COMMAND cmake -j ${N_CORES} .
COMMAND cmake ${PARALLEL_BUILD_FLAG} ${N_CORES} .
WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH}
RESULT_VARIABLE rv
)
......@@ -30,7 +30,7 @@ if(NOT rv STREQUAL "0")
endif()
# Add a compile flag -lgfortran and -lpthreads
set_target_properties(${LIB_PREFIX}openblas.${LIB_SUFFIX} LINK_FLAGS "-lgfortran -lpthreads")
set_target_properties(${LIB_PREFIX}openblas.${LIB_SUFFIX} PROPERTIES LINK_FLAGS "-lgfortran -lpthreads")
# Build library
execute_process(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment