Use new project version variables in samples CMake script

This commit is contained in:
Bill Somerville
2021-02-03 17:39:32 +00:00
parent 186d10c371
commit 446c255eb5
+1 -1
View File
@@ -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)