Skip to content

Commit

Permalink
Merge pull request #183 from openmopac/22.1.0-prerelease
Browse files Browse the repository at this point in the history
Finalize 22.1.0 release
  • Loading branch information
godotalgorithm authored Sep 26, 2023
2 parents 23dff37 + ae2664f commit ad2d884
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: MOPAC
type: software
version: 22.1.0
doi: 10.5281/zenodo.6511958
date-released: 2023-09-30
date-released: 2023-09-25
authors:
- family-names: Moussa
given-names: "Jonathan E."
Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ endif()

# Pass version & commit information to MOPAC's Fortran source
target_compile_definitions(mopac-core PRIVATE MOPAC_VERSION_FULL="${PROJECT_VERSION}")
execute_process(COMMAND git rev-parse HEAD OUTPUT_VARIABLE GIT_HASH)
if(NOT GIT_HASH)
execute_process(COMMAND git rev-parse HEAD OUTPUT_VARIABLE GIT_HASH)
endif()
if(GIT_HASH)
string(STRIP ${GIT_HASH} GIT_HASH)
target_compile_definitions(mopac-core PRIVATE MOPAC_GIT_HASH="${GIT_HASH}")
Expand Down

0 comments on commit ad2d884

Please sign in to comment.