Use STREQUAL instead of MATCHES

This commit is contained in:
Wouter Wijsman
2024-10-31 09:41:50 +01:00
parent 380ca62c52
commit 7b0fb05c5d

View File

@@ -11,7 +11,7 @@ function(add_prx_module name)
get_filename_component(FILE_EXTENSION ${FILE} EXT)
# Generate a .c file from .exp files
if ("${FILE_EXTENSION}" MATCHES ".exp")
if ("${FILE_EXTENSION}" STREQUAL ".exp")
# Get the filename without extension
get_filename_component(EXP_FILE_NAME ${FILE} NAME_WE)