Fixed top CMakeLists.txt

replaced "asdf-" in target name with ${PROJECT_NAME}-, so now setting
project name (and version) in the project section will result in a
properly named result.
This commit is contained in:
Dave 2022-12-03 20:36:33 -06:00
parent bab5d3c8ab
commit afdf74bd51
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ message("SRC Dir is ${PROJECT_SRC_DIR}")
set(DOC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/docs)
message("Documentation and web page directory is ${DOC_DIR}")
set (PROJECT_TARGET_NAME asdf-v${PROJECT_VERSION}-${ARCH})
set (PROJECT_TARGET_NAME ${PROJECT_NAME}-v${PROJECT_VERSION}-${ARCH})
set (PROJECT_EXECUTABLE_TARGET_NAME ${PROJECT_TARGET_NAME})
if(ARCH MATCHES test)