Skip to content

Commit

Permalink
Incorporate underscore check into definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
islas committed Aug 6, 2024
1 parent 55656fe commit b263d5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,12 @@ else()
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK FSEEK_OK )
endif()

if ( ${NOUNDERSCORE_SYMBOL} )
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK NOUNDERSCORE )
elseif( ${UNDERSCORE_SYMBOL} )
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK UNDERSCORE )
endif()

# I don't believe these are used anymore...
# $<$<BOOL:${MPI2_SUPPORT}>:MPI2_SUPPORT=$<BOOL:${MPI2_SUPPORT}>>
# $<$<BOOL:${MPI2_THREAD_SUPPORT}>:MPI2_THREAD_SUPPORT=$<BOOL:${MPI2_THREAD_SUPPORT}>>
Expand Down

0 comments on commit b263d5f

Please sign in to comment.