Merge branch 'develop' into oldcmake2
This commit is contained in:
commit
cbbe6448c4
1
vendor/gitversion/gitversion-1.9/cmake.cmake
vendored
1
vendor/gitversion/gitversion-1.9/cmake.cmake
vendored
@ -18,7 +18,6 @@ function(_SET_GITVERSION_CMAKE_VARIABLE OUTPUT_VARIABLE)
|
|||||||
STRING(REGEX REPLACE ".*VERSION_STRING = \"([^\"]*)\".*" "\\1" VERSION_STRING "${VERSION_H_FILE_CONTENT}")
|
STRING(REGEX REPLACE ".*VERSION_STRING = \"([^\"]*)\".*" "\\1" VERSION_STRING "${VERSION_H_FILE_CONTENT}")
|
||||||
MESSAGE(STATUS "Version from git: ${VERSION_STRING}")
|
MESSAGE(STATUS "Version from git: ${VERSION_STRING}")
|
||||||
SET(${OUTPUT_VARIABLE} "${VERSION_STRING}" CACHE INTERNAL "${OUTPUT_VARIABLE}")
|
SET(${OUTPUT_VARIABLE} "${VERSION_STRING}" CACHE INTERNAL "${OUTPUT_VARIABLE}")
|
||||||
MESSAGE(STATUS "Output: ${OUTPUT_VARIABLE}: ${${OUTPUT_VARIABLE}}")
|
|
||||||
endfunction(_SET_GITVERSION_CMAKE_VARIABLE)
|
endfunction(_SET_GITVERSION_CMAKE_VARIABLE)
|
||||||
|
|
||||||
######################################################
|
######################################################
|
||||||
|
3
vendor/googletest/CMakeLists.txt
vendored
3
vendor/googletest/CMakeLists.txt
vendored
@ -1,6 +1,9 @@
|
|||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
if (BUILD_TESTING)
|
if (BUILD_TESTING)
|
||||||
|
function(install)
|
||||||
|
# Do nothing. Disable cmake install() commands in googletest.
|
||||||
|
endfunction()
|
||||||
add_subdirectory(gtest-1.7.0)
|
add_subdirectory(gtest-1.7.0)
|
||||||
|
|
||||||
project (googletest)
|
project (googletest)
|
||||||
|
Loading…
Reference in New Issue
Block a user