summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:32:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:32:17 (GMT)
commit6709dd28f279f53b75bf9a121eec69aa9577f99e (patch)
treec2d22dfe22afb9b9fd62f65fea0ebb8db9211d9b /src
parent5a8114a2a9f5067cea2b1543ace4f19549b68477 (diff)
downloadhdf5-6709dd28f279f53b75bf9a121eec69aa9577f99e.zip
hdf5-6709dd28f279f53b75bf9a121eec69aa9577f99e.tar.gz
hdf5-6709dd28f279f53b75bf9a121eec69aa9577f99e.tar.bz2
[svn-r26953] Remove src temporary debug build props.
Move TOOLS option up before usage.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 68f7847..e5f7e2f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -770,16 +770,8 @@ set (H5_PRIVATE_HEADERS
# Setup the H5Detect utility which generates H5Tinit with platform
# specific type checks inside
#-----------------------------------------------------------------------------
-#add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c)
-#TARGET_C_PROPERTIES (H5detect STATIC " " " ")
-IF (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
- SET (LOCAL_OPT_FLAG "-O0")
-ELSE (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
- SET (LOCAL_OPT_FLAG " ")
-ENDIF (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
-ADD_EXECUTABLE (H5detect ${HDF5_SRC_DIR}/H5detect.c)
-TARGET_C_PROPERTIES (H5detect STATIC ${LOCAL_OPT_FLAG} " ")
-
+add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c)
+TARGET_C_PROPERTIES (H5detect STATIC " " " ")
if (MSVC OR MINGW)
target_link_libraries (H5detect "ws2_32.lib")
endif (MSVC OR MINGW)