Warn the user if Index-64 API is build as extended API and as the default API redundantly.
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
co-authored by
Copilot
parent
3e31f5a146
commit
0fdfcd6e8a
+8
-2
@@ -116,12 +116,18 @@ else()
|
||||
set(LAPACKELIB "lapacke")
|
||||
set(TMGLIB "tmglib")
|
||||
endif()
|
||||
message(STATUS "Build default API with 64-bit integers: ${BUILD_INDEX64}")
|
||||
message(STATUS "Build default API as Index-64: ${BUILD_INDEX64}")
|
||||
|
||||
# By default build extended _64 API for supported compilers only.
|
||||
# By default build extended _64 API
|
||||
option(BUILD_INDEX64_EXT_API "Build Index-64 API as extended API with _64 suffix" ON)
|
||||
message(STATUS "Build Index-64 API as extended API with _64 suffix: ${BUILD_INDEX64_EXT_API}")
|
||||
|
||||
if(BUILD_INDEX64_EXT_API AND BUILD_INDEX64)
|
||||
message(WARNING
|
||||
"Building Index-64 API redundantly as extended API and default API."
|
||||
"Consider disabling one of them (BUILD_INDEX64_EXT_API / BUILD_INDEX64).")
|
||||
endif()
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Configure the warning and code coverage suppression file
|
||||
|
||||
Reference in New Issue
Block a user