mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
@ -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…
x
Reference in New Issue
Block a user