Skip to content

Commit 966b62b

Browse files
committed
Add an exception for TOOLS/SL_gridreshape.c wrt implicit function declarations
1 parent b30bf4d commit 966b62b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ append_subdir_files(src "SRC")
223223
append_subdir_files(src-C "SRC")
224224

225225
if (NOT MSVC)
226+
set_source_files_properties(TOOLS/SL_gridreshape.c PROPERTIES COMPILE_OPTIONS "-Wno-error=implicit-function-declaration")
226227
add_library(scalapack ${blacs} ${tools} ${tools-C} ${extra_lapack} ${pblas} ${pblas-F} ${ptzblas} ${ptools} ${pbblas} ${redist} ${src} ${src-C})
227228
set_target_properties(scalapack PROPERTIES
228229
VERSION ${SCALAPACK_VERSION}

0 commit comments

Comments
 (0)