My windows defender suddenly said it blocked a threat when configuring a cmake list, I have used this cmake list for a while and this has not happened before, should I ignore it?
Cmake version: 3.23.1
Here’s the threat
Here’s the cmake list
cmake_minimum_required(VERSION 3.21)
set(PROJECT_NAME Game)
project(${PROJECT_NAME} VERSION 1.0.0 LANGUAGES CXX)
# Default to release builds
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
file(GLOB_RECURSE source_files
src/**.cpp
src/**.hpp
src/**.c
src/**.h
)
file(GLOB_RECURSE lib_files
lib/**.a
)
set(SOURCES ${source_files})
set(CMAKE_CXX_STANDARD 17)
add_executable(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PRIVATE "include" "lib" "res" "src")
target_link_libraries(${PROJECT_NAME}
${lib_files}
opengl32
)
if (UNIX)
target_link_libraries(${PROJECT_NAME} pthread)
endif (UNIX)
# Copy data dir to the binary directory
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/res" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
if(MSVC)
foreach(lib ${SFML_LIBS})
get_target_property(lib_path ${lib} LOCATION)
file(COPY ${lib_path} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
endforeach()
endif(MSVC)