Skip to content
Snippets Groups Projects
Commit b65ae15d authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

XDK: fix is executable2 function for windows (check .exe and .dll)

parent c8e8b0fc
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ function(is_file_executable2 file result_var)
# If file name ends in .exe on Windows, *assume* executable:
#
if(WIN32 AND NOT UNIX)
if("${file_full_lower}" MATCHES "\\.exe$")
if("${file_full_lower}" MATCHES "(\\.exe|\\.dll)$")
set(${result_var} 1 PARENT_SCOPE)
return()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment