Fix CMakeLists.txt to make normal messages STATUS type and submodules require at least version 3.14.
This commit is contained in:
parent
f82aad9533
commit
d4c01ef2d9
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.4)
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
if(CMAKE_VERSION VERSION_GREATER 3.12 OR CMAKE_VERSION VERSION_EQUAL 3.12)
|
||||
# find_package uses <PACKAGENAME>_ROOT variables
|
||||
|
@ -547,7 +547,8 @@ endif()
|
|||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_definitions(-DCRYPTOPP_DISABLE_MIXED_ASM -DCRYPTOPP_DISABLE_ASM)
|
||||
message(
|
||||
"CryptoPP with disabled ASM for ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
|
||||
STATUS
|
||||
"CryptoPP with disabled ASM for ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
|
||||
)
|
||||
endif()
|
||||
add_definitions(-DCRYPTOPP_DISABLE_SHANI)
|
||||
|
|
|
@ -46,7 +46,8 @@ file(GLOB files
|
|||
foreach(file ${files})
|
||||
get_filename_component(flatbuffers_filename ${file} NAME_WE)
|
||||
message(
|
||||
"Generating flatbuffers code for: ${flatbuffers_filename} into ${CMAKE_CURRENT_SOURCE_DIR}/generated/flatbuffers"
|
||||
STATUS
|
||||
"Generating flatbuffers code for: ${flatbuffers_filename} into ${CMAKE_CURRENT_SOURCE_DIR}/generated/flatbuffers"
|
||||
)
|
||||
|
||||
configure_file(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue