Strip whitespace when reading VERSION (CMake file(READ) keeps the newline)

This commit is contained in:
Roland Rabien 2026-04-30 07:00:30 -07:00
commit fd15bbf0c2
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ cmake_minimum_required (VERSION 3.16.0 FATAL_ERROR)
# Set for each plugin
#
file (READ "${CMAKE_CURRENT_LIST_DIR}/VERSION" PLUGIN_VERSION)
string (STRIP "${PLUGIN_VERSION}" PLUGIN_VERSION)
set (PLUGIN_NAME Wavetable)
set (BUNDLE_ID com.socalabs.wavetable)
set (AU_ID WavetableAU)