summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-14 13:29:36 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-14 13:29:36 (GMT)
commitea7ea4656e9d2ade9516082885e6e49a1065c2d1 (patch)
tree5d733edabab4777971bb5567bc89e90870c1d30c /src/lib
parent20d74e7d97b876232134f2e88e4f3b39f792bfe2 (diff)
Change CMake parameter names to specifically include TNG.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/CMakeLists.txt4
-rw-r--r--src/lib/tng_io.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 4e46c4e..416e546 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -4,8 +4,8 @@ if(HAVE_INTTYPES_H)
set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS USE_STD_INTTYPES_H)
endif()
-if(BUILD_FORTRAN)
- set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS BUILD_FORTRAN)
+if(TNG_BUILD_FORTRAN)
+ set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS TNG_BUILD_FORTRAN)
endif()
if(ZLIB_FOUND)
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 6a5d035..c041472 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -14404,7 +14404,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_box_shape_with_time_write
return(stat);
}
-#ifdef BUILD_FORTRAN
+#ifdef TNG_BUILD_FORTRAN
/* The following is for calling the library from fortran */
tng_function_status DECLSPECDLLEXPORT tng_trajectory_init_(tng_trajectory_t *tng_data_p)
contact: Jan Huwald // Impressum