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:
Mahmoud Al-Qudsi 2017-12-30 17:42:02 -06:00
parent 25839b8c36
commit d31be65a30

View file

@ -62,7 +62,6 @@ execute_process(
OUTPUT_VARIABLE 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
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/fish_build_version.h.in"