mirror of
https://github.com/OpenHantek/OpenHantek6022.git
synced 2026-11-26 23:29:52 +00:00
fix cmake for GH runner again
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
This commit is contained in:
parent
a8506b340b
commit
0589b73097
4 changed files with 7 additions and 3 deletions
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
*.inf -text
|
||||
*.icns -text
|
||||
*.svg -text
|
||||
*.hex -text
|
||||
|
|
@ -11,14 +11,15 @@ if (GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
|||
)
|
||||
# get the git version
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags --dirty
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
message(STATUS "VERSION: ${VERSION}")
|
||||
endif()
|
||||
|
||||
message(STATUS "VERSION: ${VERSION}")
|
||||
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
|
|
|||
1
cmake/.gitattributes
vendored
1
cmake/.gitattributes
vendored
|
|
@ -1 +0,0 @@
|
|||
*.inf -text
|
||||
Binary file not shown.
Loading…
Add table
Reference in a new issue