Skip to content
Permalink
Browse files

Remove debug lines in target_set_arch

  • Loading branch information
dlevin256 committed Nov 14, 2019
1 parent 205722c commit 286c2e5819d90da32bb0db050b2c0746dbc7f6cc
Showing with 0 additions and 3 deletions.
  1. +0 −3 cmake/target_set_arch.cmake
@@ -35,7 +35,6 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
else ()
set(CLANG 0)
endif()
message(STATUS "target_set_arch(${TARGET} ${MODE} ${ARCH})")
if (CLANG OR NOT MSVC)
# Reset previous arch flags
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
@@ -45,10 +44,8 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
endif()
endif ()
if (MSVC AND NOT CLANG)
message(STATUS "ARCH_FLAGS_MS_${ARCH} = ${ARCH_FLAGS_MS_${ARCH}}")
target_compile_options(${TARGET} ${MODE} ${ARCH_FLAGS_MS_${ARCH}})
else()
message(STATUS "ARCH_FLAGS_GNU_${ARCH} = ${ARCH_FLAGS_GNU_${ARCH}}")
target_compile_options(${TARGET} ${MODE} ${ARCH_FLAGS_GNU_${ARCH}})
endif ()
endfunction()

0 comments on commit 286c2e5

Please sign in to comment.
You can’t perform that action at this time.