mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Don't add FISH_BUILD_VERSION to the C++ defines
Including it as -DFISH_BUILD_VERSION causes a full re-compile as ninja detects that the C++ compiler parameters have changed.
This commit is contained in:
parent
25839b8c36
commit
d31be65a30
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ execute_process(
|
||||||
OUTPUT_VARIABLE FISH_BUILD_VERSION)
|
OUTPUT_VARIABLE FISH_BUILD_VERSION)
|
||||||
|
|
||||||
message(STATUS "FISH_BUILD_VERSION: ${FISH_BUILD_VERSION}")
|
message(STATUS "FISH_BUILD_VERSION: ${FISH_BUILD_VERSION}")
|
||||||
ADD_DEFINITIONS(-DFISH_BUILD_VERSION="${FISH_BUILD_VERSION}")
|
|
||||||
|
|
||||||
# Set up fish-build-version.h
|
# Set up fish-build-version.h
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/fish_build_version.h.in"
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/fish_build_version.h.in"
|
||||||
|
|
Loading…
Reference in a new issue