Update the mode to FATAL_ERROR when CURL not found
This commit is contained in:
@ -12,7 +12,7 @@ if(KIM_EXTRA_UNITTESTS)
|
||||
if(CURL_FOUND)
|
||||
target_compile_definitions(test_kim_commands PRIVATE -DKIM_EXTRA_UNITTESTS)
|
||||
else()
|
||||
message(STATUS "CURL not found. Enabling KIM extra unit tests requires to have libcurl installed.")
|
||||
message(FATAL_ERROR "CURL not found. Enabling KIM extra unit tests requires to have libcurl installed.")
|
||||
endif()
|
||||
endif()
|
||||
target_link_libraries(test_kim_commands PRIVATE lammps GTest::GMock GTest::GTest)
|
||||
|
||||
Reference in New Issue
Block a user