diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-09-18 22:08:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-09-18 22:08:07 (GMT) |
commit | eff696a3b0267e89e73c08b078131b0394388449 (patch) | |
tree | 6bbc47689b9883dd83e0d550dcf9e8ba7040ce32 /testpar | |
parent | 315ab68bd117a2c7f89b220a37adcf35b93d7c03 (diff) | |
download | hdf5-eff696a3b0267e89e73c08b078131b0394388449.zip hdf5-eff696a3b0267e89e73c08b078131b0394388449.tar.gz hdf5-eff696a3b0267e89e73c08b078131b0394388449.tar.bz2 |
[svn-r22785] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders
Tested: jam with intel compilers
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testpar/CMakeLists.txt b/testpar/CMakeLists.txt index f42af9f..5d594a6 100644 --- a/testpar/CMakeLists.txt +++ b/testpar/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required (VERSION 2.8.6) PROJECT (HDF5_TEST_PAR) +#----------------------------------------------------------------------------- +# Apply Definitions to compiler in this directory and below +#----------------------------------------------------------------------------- +ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) + INCLUDE_DIRECTORIES (${HDF5_TEST_SRC_DIR}) INCLUDE_DIRECTORIES (${HDF5_TOOLS_SRC_DIR}/lib ) #----------------------------------------------------------------------------- |