Skip to content

Commit

Permalink
Use STREQUAL instead of MATCHES
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Oct 31, 2024
1 parent 380ca62 commit 7b0fb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/AddPrxModule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7b0fb05

Please sign in to comment.