Skip to content

Commit b263d5f

Browse files
committed
Incorporate underscore check into definitions
1 parent 55656fe commit b263d5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,12 @@ else()
831831
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK FSEEK_OK )
832832
endif()
833833

834+
if ( ${NOUNDERSCORE_SYMBOL} )
835+
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK NOUNDERSCORE )
836+
elseif( ${UNDERSCORE_SYMBOL} )
837+
list( APPEND PROJECT_COMPILE_DEFINITIONS_CONFCHECK UNDERSCORE )
838+
endif()
839+
834840
# I don't believe these are used anymore...
835841
# $<$<BOOL:${MPI2_SUPPORT}>:MPI2_SUPPORT=$<BOOL:${MPI2_SUPPORT}>>
836842
# $<$<BOOL:${MPI2_THREAD_SUPPORT}>:MPI2_THREAD_SUPPORT=$<BOOL:${MPI2_THREAD_SUPPORT}>>

0 commit comments

Comments
 (0)