You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
429 B

--- a/CMakeLists.txt 2017-10-23 22:24:46.000000000 +0200
+++ b/CMakeLists.txt 2017-11-18 20:31:27.943838662 +0100
@@ -111,7 +111,7 @@
OUTPUT_STRIP_TRAILING_WHITESPACE
)
- if (${LIBIIO_GIT_REPO} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
+ if ("${LIBIIO_GIT_REPO}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}