summaryrefslogtreecommitdiffstats
path: root/Tests/Module
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-10-09 15:39:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-10-09 15:39:24 (GMT)
commitc83cfd7a01f2fb00ba7d545b0df667c0d43b296f (patch)
tree0bc7f8755110b4914565f77db215165318311033 /Tests/Module
parent48171cefb5bc4a52953b08ade9459584fddc3d0d (diff)
downloadCMake-c83cfd7a01f2fb00ba7d545b0df667c0d43b296f.zip
CMake-c83cfd7a01f2fb00ba7d545b0df667c0d43b296f.tar.gz
CMake-c83cfd7a01f2fb00ba7d545b0df667c0d43b296f.tar.bz2
Remove unused define.
Diffstat (limited to 'Tests/Module')
-rw-r--r--Tests/Module/GenerateExportHeader/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt
index 3edb548..7a52c71 100644
--- a/Tests/Module/GenerateExportHeader/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt
@@ -90,10 +90,6 @@ macro(_do_build Include Library LibrarySource Source)
" add_definitions(${ERROR_FLAG})\n"
"endif()\n"
- "if(MSVC)\n"
- " add_definitions(-DCOMPILER_IS_MSVC)\n"
- "endif()\n"
-
"add_subdirectory(\"${LibrarySource}\")\n"
"include_directories(\"${LibrarySource}\" \"\${CMAKE_CURRENT_BINARY_DIR}/${LibrarySource}\")\n"
@@ -125,10 +121,6 @@ include(GenerateExportHeader)
add_compiler_export_flags()
-if (MSVC)
- add_definitions(-DCOMPILER_IS_MSVC)
-endif()
-
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
message("#### COMPILER_HAS_DEPRECATED: " ${COMPILER_HAS_DEPRECATED})