diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index 911f3096..1fd178fa 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -7,12 +7,13 @@ option(BENCHMARK_ENABLE_LTO "Enable link time optimisation of the benchmark libr list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # Read the git tags to determine the project version -include(GetGitVersion) -get_git_version(GIT_VERSION) +#include(GetGitVersion) +#get_git_version(GIT_VERSION) # Tell the user what versions we are using +set(GIT_VERSION "v0.0.0") string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION}) -message("-- Version: ${VERSION}") +#message("-- Version: ${VERSION}") # The version of the libraries set(GENERIC_LIB_VERSION ${VERSION}) diff --git a/benchmark/cmake/CXXFeatureCheck.cmake b/benchmark/cmake/CXXFeatureCheck.cmake index 23ee8ac6..daff80aa 100644 --- a/benchmark/cmake/CXXFeatureCheck.cmake +++ b/benchmark/cmake/CXXFeatureCheck.cmake @@ -21,19 +21,19 @@ function(cxx_feature_check FILE) string(TOLOWER ${FILE} FILE) string(TOUPPER ${FILE} VAR) string(TOUPPER "HAVE_${VAR}" FEATURE) - message("-- Performing Test ${FEATURE}") + #message("-- Performing Test ${FEATURE}") try_run(RUN_${FEATURE} COMPILE_${FEATURE} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/${FILE}.cpp) if(RUN_${FEATURE} EQUAL 0) - message("-- Performing Test ${FEATURE} -- success") + #message("-- Performing Test ${FEATURE} -- success") set(HAVE_${VAR} 1 PARENT_SCOPE) add_definitions(-DHAVE_${VAR}) else() - if(NOT COMPILE_${FEATURE}) - message("-- Performing Test ${FEATURE} -- failed to compile") - else() - message("-- Performing Test ${FEATURE} -- compiled but failed to run") - endif() + #if(NOT COMPILE_${FEATURE}) + #message("-- Performing Test ${FEATURE} -- failed to compile") + #else() + #message("-- Performing Test ${FEATURE} -- compiled but failed to run") + #endif() endif() endfunction()