Skip to content
Snippets Groups Projects
Commit 41f5f6d0 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Fixed package naming.

parent 91e629a1
No related branches found
No related tags found
No related merge requests found
......@@ -18,17 +18,18 @@ set(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README.md")
# Package file name
if(OGS_USE_PYTHON)
set(SUFFIX "${SUFFIX}-python-${Python3_VERSION}")
list(APPEND SUFFIX_LIST "python-${Python3_VERSION}")
endif()
if(OGS_BUILD_GUI)
set(SUFFIX "${SUFFIX}-de")
list(APPEND SUFFIX_LIST "de")
endif()
if(OGS_BUILD_UTILS)
set(SUFFIX "${SUFFIX}-utils")
list(APPEND SUFFIX_LIST "utils")
endif()
if(OGS_USE_MPI)
set(SUFFIX "${SUFFIX}-mpi")
list(APPEND SUFFIX_LIST "mpi")
endif()
string(REPLACE ";" "-" SUFFIX "${SUFFIX_LIST}")
if(APPLE)
string(REGEX MATCH "(^[0-9]*)" TMP ${CMAKE_SYSTEM_VERSION})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment