Skip to content

Commit

Permalink
redo cmake change
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 6, 2019
1 parent e69191d commit daac77e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ else()
set(USE_MPI_SERIAL 0)
endif()

#Set in config.h to solve intel 19 strnlen warning issue
set(_GNU_SOURCE, 1)
#==============================================================================
# PREPEND TO CMAKE MODULE PATH
#==============================================================================
Expand Down
2 changes: 2 additions & 0 deletions cmake_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
#ifndef _PIO_CONFIG_
#define _PIO_CONFIG_
/* Set to avoid warning in intel19 compiler wrt strnlen */
#define _GNU_SOURCE

/** The major part of the version number. */
#define PIO_VERSION_MAJOR @VERSION_MAJOR@
Expand Down

0 comments on commit daac77e

Please sign in to comment.