diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d8f7c2532..125d3008fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -915,16 +915,6 @@ endif() set( VERSION ${PROJECT_VERSION} ) set( configure_input "Built with CMake ${CMAKE_VERSION}" ) configure_file(${CMAKE_SOURCE_DIR}/cmakeconfig.h.in ${CMAKE_BINARY_DIR}/config.h) - -if(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") - # Try to run before anything else. Ideally we'd just use add_custom_command(... PRE_BUILD) - # but that only works for Visual Studio. As it is this likely has a race condition. - add_custom_target(clean_other_build_system_conflicts ALL - COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_SOURCE_DIR}/config.h - DEPENDS ${CMAKE_BINARY_DIR}/config.h ${CMAKE_BINARY_DIR}/version.h - ) -endif() - set( IN_FILES adns_dll.rc capchild/doxygen.cfg.in |