Closed peter-t-fox closed 4 years ago
Error messages from Bash:
mvm-ri-m18002:build tporphyr$ cmake ..
-- APPLE=1
-- CMAKE_ADDR2LINE=CMAKE_ADDR2LINE-NOTFOUND
-- CMAKE_AR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
-- CMAKE_AR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
-- CMAKE_AUTOGEN_ORIGIN_DEPENDS=ON
-- CMAKE_AUTOMOC_COMPILER_PREDEFINES=ON
-- CMAKE_AUTOMOC_MACRO_NAMES=Q_OBJECT;Q_GADGET;Q_NAMESPACE;Q_NAMESPACE_EXPORT
-- CMAKE_AUTOMOC_PATH_PREFIX=ON
-- CMAKE_BASE_NAME=c++
-- CMAKE_BINARY_DIR=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build
-- CMAKE_BUILD_TOOL=/usr/bin/make
-- CMAKE_BUILD_TYPE=
-- CMAKE_CACHEFILE_DIR=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build
-- CMAKE_CACHE_MAJOR_VERSION=3
-- CMAKE_CACHE_MINOR_VERSION=17
-- CMAKE_CACHE_PATCH_VERSION=1
-- CMAKE_CFG_INTDIR=.
-- CMAKE_COLOR_MAKEFILE=ON
-- CMAKE_COMMAND=/usr/local/Cellar/cmake/3.17.1/bin/cmake
-- CMAKE_CPACK_COMMAND=/usr/local/Cellar/cmake/3.17.1/bin/cpack
-- CMAKE_CROSSCOMPILING=FALSE
-- CMAKE_CTEST_COMMAND=/usr/local/Cellar/cmake/3.17.1/bin/ctest
-- CMAKE_CURRENT_BINARY_DIR=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test
-- CMAKE_CURRENT_LIST_DIR=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/test
-- CMAKE_CURRENT_LIST_FILE=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/test/CMakeLists.txt
-- CMAKE_CURRENT_SOURCE_DIR=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/test
-- CMAKE_CXX11_COMPILE_FEATURES=cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates
-- CMAKE_CXX11_EXTENSION_COMPILE_OPTION=-std=gnu++11
-- CMAKE_CXX11_STANDARD_COMPILE_OPTION=-std=c++11
-- CMAKE_CXX11_STANDARDHAS_FULL_SUPPORT=ON
-- CMAKE_CXX14_COMPILE_FEATURES=cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates
-- CMAKE_CXX14_EXTENSION_COMPILE_OPTION=-std=gnu++14
-- CMAKE_CXX14_STANDARD_COMPILE_OPTION=-std=c++14
-- CMAKE_CXX14_STANDARDHAS_FULL_SUPPORT=ON
-- CMAKE_CXX17_COMPILE_FEATURES=cxx_std_17
-- CMAKE_CXX17_EXTENSION_COMPILE_OPTION=-std=gnu++17
-- CMAKE_CXX17_STANDARD_COMPILE_OPTION=-std=c++17
-- CMAKE_CXX20_COMPILE_FEATURES=cxx_std_20
-- CMAKE_CXX20_EXTENSION_COMPILE_OPTION=-std=gnu++2a
-- CMAKE_CXX20_STANDARD_COMPILE_OPTION=-std=c++2a
-- CMAKE_CXX98_COMPILE_FEATURES=cxx_std_98;cxx_template_template_parameters
-- CMAKE_CXX98_EXTENSION_COMPILE_OPTION=-std=gnu++98
-- CMAKE_CXX98_STANDARD_COMPILE_OPTION=-std=c++98
-- CMAKE_CXX98_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_CXX_ABI_COMPILED=TRUE
-- CMAKE_CXX_ARCHIVE_APPEND=
void test_func(void data) { return data; }
int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL);
return 0; }
-- RUN_CONFIGURE=ON
-- THREADS_FOUND=TRUE
-- Threads_FOUND=TRUE
-- UNIX=1
-- _CMAKE_CUDA_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/usr/include
-- _CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include;/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-- _CMAKE_CXX_IPO_MAY_BE_SUPPORTED_BY_COMPILER=YES
-- _CMAKE_CXX_IPO_SUPPORTED_BY_CMAKE=YES
-- _CMAKE_CXX_PIE_MAY_BE_SUPPORTED_BY_LINKER=YES
-- _CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-- _CMAKE_INSTALL_DIR=/usr/local/Cellar/cmake/3.17.1
-- _CMAKE_LTO_THIN=TRUE
-- _CMAKE_OBJCXX_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-- _CMAKE_OBJC_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-- _CMAKE_OSX_SYSROOT_DEFAULT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-- _CMAKE_OSX_SYSROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-- _CMAKE_OSX_SYSROOT_TYPE=PATH
-- _CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-- _CURRENT_OSX_VERSION=10.14
-- _ExternalProject_SELF=/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/ExternalProject.cmake
-- _ExternalProject_SELF_DIR=/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules
-- _INCLUDED_FILE=/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/Platform/Apple-AppleClang-CXX.cmake
-- _INCLUDED_SYSTEM_INFO_FILE=/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/Platform/Darwin.cmake
-- _IN_TC=0
-- COMPILER_CLANG=1
-- COMPILER_CMAKE_COMMON_COMPILER_MACROS=1
-- COMPILER_GNU=1
-- INCGUARD_d74b7926ca3f83541c8942a0c0ae6051=ON
-- UNIX_PATHS_INCLUDED=1
-- ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
-- is_apple_clang=1
-- lto_flags=-flto;-fno-fat-lto-objects
-- pch_header_C=c-header
-- pch_header_CXX=c++-header
-- pch_header_OBJC=objective-c-header
-- pch_header_OBJCXX=objective-c++-header
-- __pkg_config_arguments_GSL=QUIET;gsl
-- pkg_config_checked_GSL=1
-- __ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib
-- _abolute_path=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks
-- _apps=/Applications/Xcode.app/Contents/Developer/Applications
-- _ep_documentation_line_count=936
-- _ep_func=ExternalProject_Add_StepDependencies
-- _ep_hash_algos=MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512
-- _ep_hash_regex=^(MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512)=([0-9A-Fa-f]+)$
-- _ep_key=USES_TERMINAL
-- _ep_keywords_ExternalProject_Add=^(PREFIX|TMP_DIR|STAMP_DIR|LOG_DIR|DOWNLOAD_DIR|SOURCE_DIR|BINARY_DIR|INSTALL_DIR|DOWNLOAD_COMMAND|URL|URL_HASH|URL_MD5|DOWNLOAD_NAME|DOWNLOAD_NO_EXTRACT|DOWNLOAD_NO_PROGRESS|TIMEOUT|HTTP_USERNAME|HTTP_PASSWORD|HTTP_HEADER|TLS_VERIFY|TLS_CAINFO|NETRC|NETRC_FILE|GIT_REPOSITORY|GIT_TAG|GIT_REMOTE_NAME|GIT_SUBMODULES|GIT_SUBMODULES_RECURSE|GIT_SHALLOW|GIT_PROGRESS|GIT_CONFIG|SVN_REPOSITORY|SVN_REVISION|SVN_USERNAME|SVN_PASSWORD|SVN_TRUST_CERT|HG_REPOSITORY|HG_TAG|CVS_REPOSITORY|CVS_MODULE|CVS_TAG|UPDATE_COMMAND|UPDATE_DISCONNECTED|PATCH_COMMAND|CONFIGURE_COMMAND|CMAKE_COMMAND|CMAKE_GENERATOR|CMAKE_GENERATOR_PLATFORM|CMAKE_GENERATOR_TOOLSET|CMAKE_GENERATOR_INSTANCE|CMAKE_ARGS|CMAKE_CACHE_ARGS|CMAKE_CACHE_DEFAULT_ARGS|SOURCE_SUBDIR|BUILD_COMMAND|BUILD_IN_SOURCE|BUILD_ALWAYS|BUILD_BYPRODUCTS|INSTALL_COMMAND|TEST_COMMAND|TEST_BEFORE_INSTALL|TEST_AFTER_INSTALL|TEST_EXCLUDE_FROM_MAIN|LOG_DOWNLOAD|LOG_UPDATE|LOG_PATCH|LOG_CONFIGURE|LOG_BUILD|LOG_INSTALL|LOG_TEST|LOG_MERGED_STDOUTERR|LOG_OUTPUT_ON_FAILURE|USES_TERMINAL_DOWNLOAD|USES_TERMINAL_UPDATE|USES_TERMINAL_CONFIGURE|USES_TERMINAL_BUILD|USES_TERMINAL_INSTALL|USES_TERMINAL_TEST|DEPENDS|EXCLUDE_FROM_ALL|STEP_TARGETS|INDEPENDENT_STEP_TARGETS|LIST_SEPARATOR)$
-- _ep_keywords_ExternalProject_Add_Step=^(COMMAND|COMMENT|DEPENDEES|DEPENDERS|DEPENDS|BYPRODUCTS|ALWAYS|EXCLUDE_FROM_MAIN|WORKING_DIRECTORY|LOG|USES_TERMINAL)$
-- _ep_keywords_ExternalProject_Add_StepDependencies=^()$
-- _ep_keywords_ExternalProject_Add_StepTargets=^()$
-- _ep_keywords_ExternalProject_Get_Property=^()$
-- _failed=0
-- _path=
-- _stderr=
-- _stdout=/Applications/Xcode.app/Contents/Developer
-- binary_dir=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test/googletest-prefix/src/googletest-build
-- lang=
-- line=
-- lines=.. command:: ExternalProject_Add; PREFIX <dir>
; TMP_DIR <dir>
; STAMP_DIR <dir>
; LOG_DIR <dir>
; DOWNLOAD_DIR <dir>
; SOURCE_DIR <dir>
; BINARY_DIR <dir>
; INSTALL_DIR <dir>
; DOWNLOAD_COMMAND <cmd>...
; URL <url1> [<url2>...]
; URL_HASH <algo>=<hashValue>
; URL_MD5 <md5>
; DOWNLOAD_NAME <fname>
; DOWNLOAD_NO_EXTRACT <bool>
; DOWNLOAD_NO_PROGRESS <bool>
; TIMEOUT <seconds>
; HTTP_USERNAME <username>
; HTTP_PASSWORD <password>
; HTTP_HEADER <header1> [<header2>...]
; TLS_VERIFY <bool>
; TLS_CAINFO <file>
; NETRC <level>
; NETRC_FILE <file>
; GIT_REPOSITORY <url>
; GIT_TAG <tag>
; GIT_REMOTE_NAME <name>
; GIT_SUBMODULES <module>...
; GIT_SUBMODULES_RECURSE <bool>
; GIT_SHALLOW <bool>
; GIT_PROGRESS <bool>
; GIT_CONFIG <option1> [<option2>...]
; SVN_REPOSITORY <url>
; SVN_REVISION -r<rev>
; SVN_USERNAME <username>
; SVN_PASSWORD <password>
; SVN_TRUST_CERT <bool>
; HG_REPOSITORY <url>
; HG_TAG <tag>
; CVS_REPOSITORY <cvsroot>
; CVS_MODULE <mod>
; CVS_TAG <tag>
; UPDATE_COMMAND <cmd>...
; UPDATE_DISCONNECTED <bool>
; PATCH_COMMAND <cmd>...
; CONFIGURE_COMMAND <cmd>...
; CMAKE_COMMAND /.../cmake
; CMAKE_GENERATOR <gen>
; CMAKE_GENERATOR_PLATFORM <platform>
; CMAKE_GENERATOR_TOOLSET <toolset>
; CMAKE_GENERATOR_INSTANCE <instance>
; CMAKE_ARGS <arg>...
; CMAKE_CACHE_ARGS <arg>...
; CMAKE_CACHE_DEFAULT_ARGS <arg>...
; SOURCE_SUBDIR <dir>
; BUILD_COMMAND <cmd>...
; BUILD_IN_SOURCE <bool>
; BUILD_ALWAYS <bool>
; BUILD_BYPRODUCTS <file>...
; INSTALL_COMMAND <cmd>...
; TEST_COMMAND <cmd>...
; TEST_BEFORE_INSTALL <bool>
; TEST_AFTER_INSTALL <bool>
; TEST_EXCLUDE_FROM_MAIN <bool>
; LOG_DOWNLOAD <bool>
; LOG_UPDATE <bool>
; LOG_PATCH <bool>
; LOG_CONFIGURE <bool>
; LOG_BUILD <bool>
; LOG_INSTALL <bool>
; LOG_TEST <bool>
; LOG_MERGED_STDOUTERR <bool>
; LOG_OUTPUT_ON_FAILURE <bool>
; USES_TERMINAL_DOWNLOAD <bool>
; USES_TERMINAL_UPDATE <bool>
; USES_TERMINAL_CONFIGURE <bool>
; USES_TERMINAL_BUILD <bool>
; USES_TERMINAL_INSTALL <bool>
; USES_TERMINAL_TEST <bool>
; DEPENDS <targets>...
; EXCLUDE_FROM_ALL <bool>
; STEP_TARGETS <step-target>...
; INDEPENDENT_STEP_TARGETS <step-target>...
; LIST_SEPARATOR <sep>
; COMMAND <cmd>...
;.. command:: ExternalProject_Get_Property;.. command:: ExternalProject_Add_Step; COMMAND <cmd>...
; COMMENT "<text>..."
; DEPENDEES <step>...
; DEPENDERS <step>...
; DEPENDS <file>...
; BYPRODUCTS <file>...
; ALWAYS <bool>
; EXCLUDE_FROM_MAIN <bool>
; WORKING_DIRECTORY <dir>
; LOG <bool>
; USES_TERMINAL <bool>
;.. command:: ExternalProject_Add_StepTargets;.. command:: ExternalProject_Add_StepDependencies
-- pkgcfg_lib_GSL_gsl=/usr/local/Cellar/gsl/2.6/lib/libgsl.dylib
-- pkgcfg_lib_GSL_gslcblas=/usr/local/Cellar/gsl/2.6/lib/libgslcblas.dylib
-- pkgcfg_lib_GSL_m=/usr/lib/libm.dylib
-- prefix_result=/usr/local/Cellar/gsl/2.6/lib
-- source_dir=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test/googletest-prefix/src/googletest
-- type=
-- v=
CMake Error at test/CMakeLists.txt:36 (set_target_properties):
set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:39 (set_target_properties): set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:42 (set_target_properties): set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:45 (set_target_properties): set_target_properties called with incorrect number of arguments.
-- Configuring incomplete, errors occurred! See also "/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/CMakeFiles/CMakeOutput.log". mvm-ri-m18002:build tporphyr$ cmake .. |grep GTEST -- GTEST_INCLUDE_DIRS=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include -- GTEST_LIBRARY=gtest -- GTEST_LIBRARY_PATH=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test/googletest-prefix/src/googletest-build/lib/libgtest.a -- GTEST_MAIN_LIBRARY=gtest_main -- GTEST_MAIN_LIBRARY_PATH=/Users/tporphyr/Documents/GitHub/Covid19_EERAModel/build/test/googletest-prefix/src/googletest-build/lib/libgtest_main.a CMake Error at test/CMakeLists.txt:36 (set_target_properties): set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:39 (set_target_properties): set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:42 (set_target_properties): set_target_properties called with incorrect number of arguments.
CMake Error at test/CMakeLists.txt:45 (set_target_properties): set_target_properties called with incorrect number of arguments.
I have narrowed this down to CMAKE_THREAD_LIBS_INIT
is an empty variable which explains why the number of arguments is incorrect, the variable is stated but it is not given a value. As to why this happens only on Mac OS, I do not know yet
Quote from https://gitlab.kitware.com/cmake/cmake/issues/19823:
"The CMAKE_THREAD_LIBS_INIT variable and corresponding Threads::Threads INTERFACE_LINK_LIBRARIES target property is the empty string for the case when the (Posix) threads functions are provided by the C library. According to a second-hand report I received this case happens on Mac OS X (at least for MacPorts). Therefore, please document this expected result for that important use case."
Fixed using:
# assume built-in pthreads on MacOS
IF(APPLE)
set(CMAKE_THREAD_LIBS_INIT "-lpthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)
ENDIF()
from https://stackoverflow.com/questions/54587052/cmake-on-mac-could-not-find-threads-missing-threads-found, however now have new build issues with GoogleTest when building on Mac:
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:844:12: error:
no member named 'make_tuple' in namespace 'std'
using std::make_tuple;
~~~~~^
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:845:12: error:
no member named 'tuple' in namespace 'std'
using std::tuple;
~~~~~^
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:965:3: error:
deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
GTEST_DISALLOW_COPY_AND_ASSIGN_(GTestLog);
^
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:684:23: note:
expanded from macro 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
type(type const&) = delete; \
^
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:965:3: error:
deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:685:34: note:
expanded from macro 'GTEST_DISALLOW_COPY_AND_ASSIGN_'
type& operator=(type const&) = delete
^
/Users/krizar/Covid19_EERAModel/build/test/googletest-prefix/src/googletest/googletest/include/gtest/internal/gtest-port.h:1209:3: error:
deleted function definitions are a C++11 extension [-Werror,-Wc++11-extensions]
GTEST_DISALLOW_COPY_AND_ASSIGN_(Notification);
...
Someone has opened a pull request on Google Test to fix this, maybe we can clone the repository and build GoogleTest that way and merge this in?
I can confirm using the above fix on Google Test everything works under Mac OS 10.14
@thibaud-porphyre it should work now on your Mac. I think we can close this issue @peter-t-fox? (see https://github.com/ScottishCovidResponse/Covid19_EERAModel/commit/7dd23219a1ded5bc474e052174db607639366a93)
@thibaud-porphyre If you uncomment the line add_subdirectory(test)
from the top-level CMakeLists.txt
file, and re-run the cmake ..
and make
commands in the build
directory, everything should work. If you can confirm this, we can then close the issue.
On @thibaud-porphyre Mac environment, CMake 3.17 fails to configure build of the test directory. Works successfully on Linux using CMake 3.10.
Error messages to go here: