From 446c255eb5e7ca18dcdb370c4f91e13331085188 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 3 Feb 2021 17:39:32 +0000 Subject: [PATCH] Use new project version variables in samples CMake script --- samples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 70e263c3e..663012255 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -23,7 +23,7 @@ set (SAMPLE_FILES WSPR/150426_0918.wav ) -set (contents_file_name contents_${WSJTX_VERSION_MAJOR}.${WSJTX_VERSION_MINOR}.json) +set (contents_file_name contents_${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.json) set (contents_file ${CMAKE_CURRENT_BINARY_DIR}/${contents_file_name}) set (web_tree ${CMAKE_CURRENT_BINARY_DIR}/web) set_source_files_properties (${contents_file} PROPERTIES GENERATED ON)