mirror of https://github.com/status-im/evmc.git
Upgrade Cable to 0.4.4
This commit is contained in:
commit
aa92e23ff6
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# This is internal variable automatically updated with external tools.
|
# This is internal variable automatically updated with external tools.
|
||||||
# Use CABLE_VERSION variable if you need this information.
|
# Use CABLE_VERSION variable if you need this information.
|
||||||
set(version 0.4.3)
|
set(version 0.4.4)
|
||||||
|
|
||||||
# For convenience, add the project CMake module dir to module path.
|
# For convenience, add the project CMake module dir to module path.
|
||||||
set(module_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
set(module_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||||
|
@ -18,6 +18,9 @@ if(EXISTS ${module_dir})
|
||||||
list(APPEND CMAKE_MODULE_PATH ${module_dir})
|
list(APPEND CMAKE_MODULE_PATH ${module_dir})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Always add this Cable instance modules to the CMake module path.
|
||||||
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
|
||||||
if(CABLE_VERSION)
|
if(CABLE_VERSION)
|
||||||
# Some other instance of Cable has been initialized in the top project.
|
# Some other instance of Cable has been initialized in the top project.
|
||||||
|
|
||||||
|
@ -61,9 +64,6 @@ set(CABLE_VERSION ${version})
|
||||||
# Mark this project as non-nested.
|
# Mark this project as non-nested.
|
||||||
set(PROJECT_IS_NESTED FALSE)
|
set(PROJECT_IS_NESTED FALSE)
|
||||||
|
|
||||||
# Add Cable modules to the CMake module path.
|
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
|
||||||
|
|
||||||
cable_log("Cable ${CABLE_VERSION} initialized")
|
cable_log("Cable ${CABLE_VERSION} initialized")
|
||||||
cable_debug("Project CMake modules directory: ${module_dir}")
|
cable_debug("Project CMake modules directory: ${module_dir}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue