Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedwardli committed Jan 12, 2025
1 parent e0690ba commit 2d7aa57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ endif()

find_package(Git)
if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
set(GDXSV_PATTERN "gdxsv-\\*")

set(GDXSV_PATTERN "$<IF:$<BOOL:${MINGW}>, gdxsv-\\*, ""gdxsv-*""")
message(GDXSV_PATTERN="${GDXSV_PATTERN}")
execute_process(
COMMAND ${GIT_EXECUTABLE} describe --tags --always --match ${GDXSV_PATTERN}
Expand Down

0 comments on commit 2d7aa57

Please sign in to comment.