Skip to content

Commit

Permalink
Merge dff0c91 into 215651a
Browse files Browse the repository at this point in the history
  • Loading branch information
Pro committed Aug 13, 2018
2 parents 215651a + dff0c91 commit 2dd2248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -31,7 +31,7 @@ set(LIB_INSTALL_DIR lib CACHE PATH "Installation path of libraries")
if(GIT_FOUND)
execute_process(COMMAND ${GIT_EXECUTABLE} describe --always --tags
RESULT_VARIABLE res_var OUTPUT_VARIABLE GIT_COM_ID WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
if(${res_var} EQUAL 0)
if(${res_var} EQUAL 0 AND NOT OPEN62541_VER_COMMIT STREQUAL "")
string(REPLACE "\n" "" OPEN62541_VER_COMMIT ${GIT_COM_ID} )
endif()
endif()
Expand Down

0 comments on commit 2dd2248

Please sign in to comment.