updated build system
This commit is contained in:
parent
732a42a073
commit
12c7c48b20
@ -22,6 +22,9 @@ include(cmake/functions.cmake)
|
||||
include(cmake/libraries.cmake)
|
||||
|
||||
if(PROJECT_BUILD)
|
||||
unset(PROJECT_GIT_REV CACHE)
|
||||
unset(PROJECT_VERSION CACHE)
|
||||
|
||||
execute_process(
|
||||
COMMAND git rev-parse --short HEAD
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
@ -42,9 +45,6 @@ if(PROJECT_BUILD)
|
||||
${ADDITIONAL_SOURCES}
|
||||
)
|
||||
|
||||
unset(PROJECT_GIT_REV CACHE)
|
||||
unset(PROJECT_VERSION CACHE)
|
||||
|
||||
include(project.cmake)
|
||||
|
||||
configure_file(
|
||||
|
Loading…
x
Reference in New Issue
Block a user