Правки
This commit is contained in:
parent
0c02885f2c
commit
2d990c1747
@ -4,5 +4,5 @@ function(cmlib_config_hpp_generate)
|
||||
|
||||
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
|
||||
configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_config.hpp.in
|
||||
${CMAKE_BINARY_DIR}/include/cmlib_${CMLIB_PROJECT_NAME_LOWER}_config.hpp)
|
||||
${CMAKE_BINARY_DIR}/include/${CMLIB_PROJECT_NAME_LOWER}_cmlib_config.hpp)
|
||||
endfunction()
|
||||
|
@ -1,5 +1,5 @@
|
||||
canonical_string(PROJECT_NAME CMLIB_PROJECT_NAME_CANONICAL)
|
||||
canonical_string(ORGANIZATION_NAME CMLIB_ORGANIZATION_NAME_CANONICAL)
|
||||
canonical_string(${PROJECT_NAME} CMLIB_PROJECT_NAME_CANONICAL)
|
||||
canonical_string(${ORGANIZATION_NAME} CMLIB_ORGANIZATION_NAME_CANONICAL)
|
||||
|
||||
string(TOLOWER ${CMLIB_ORGANIZATION_NAME_CANONICAL} CMLIB_ORGANIZATION_NAME_LOWER)
|
||||
string(TOLOWER ${CMLIB_PROJECT_NAME_CANONICAL} CMLIB_PROJECT_NAME_LOWER)
|
||||
|
Loading…
Reference in New Issue
Block a user