mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-23 20:22:40 +00:00
Use STREQUAL instead of MATCHES
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user