diff options
-rw-r--r-- | Tests/Module/GenerateExportHeader/CMakeLists.txt | 8 |
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}) |