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) ...@@ -21,7 +21,7 @@ FetchContent_Populate(OpenBLAS)
# Build OpenBLAS # # Build OpenBLAS #
################## ##################
execute_process( execute_process(
COMMAND cmake -j ${N_CORES} . COMMAND cmake ${PARALLEL_BUILD_FLAG} ${N_CORES} .
WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH} WORKING_DIRECTORY ${OPENBLAS_LOCAL_PATH}
RESULT_VARIABLE rv RESULT_VARIABLE rv
) )
...@@ -30,7 +30,7 @@ if(NOT rv STREQUAL "0") ...@@ -30,7 +30,7 @@ if(NOT rv STREQUAL "0")
endif() endif()
# Add a compile flag -lgfortran and -lpthreads # 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 # Build library
execute_process( 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