Commit ccd6514d authored by Dmitry Kazakov's avatar Dmitry Kazakov

Removed hardcoded setting of optimization flags for non-multiarch parts

parent 940d2671
......@@ -5,7 +5,7 @@ include_directories( ${KOMAIN_INCLUDES} ${CMAKE_SOURCE_DIR}/krita/image/tiles3
set(LINK_VC_LIB)
if(HAVE_VC)
include_directories(${Vc_INCLUDE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
set(LINK_VC_LIB ${Vc_LIBRARIES})
endif(HAVE_VC)
......
......@@ -54,7 +54,7 @@ include_directories( ${KDE4_INCLUDE_DIR}/threadweaver/
if(HAVE_VC)
include_directories(${Vc_INCLUDE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
endif(HAVE_VC)
set(kritaimage_LIB_SRCS
......
......@@ -31,7 +31,7 @@ target_link_libraries(kritalibbrush kritaui)
if(HAVE_VC)
include_directories(${Vc_INCLUDE_DIR})
target_link_libraries(kritalibbrush ${Vc_LIBRARIES})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
endif(HAVE_VC)
target_link_libraries(kritalibbrush LINK_INTERFACE_LIBRARIES kritaui)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment