Upgrade Cable to 0.4.4

This commit is contained in:
Paweł Bylica 2019-08-16 23:16:53 +02:00
commit aa92e23ff6
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 4 additions and 4 deletions

View File

@ -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}")