summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-11-27 09:34:31 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-11-27 09:37:34 +0800
commit23497c6241913b34b6a809b9ded6d749de3a21f1 (patch)
tree3473c47cf7e5513bd0304be33fd6415cc01ca948
parent70328d747437c0ae9312448027df2453c6c7bcf7 (diff)
utests: fix indent in CMakeLists.txt
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
-rw-r--r--utests/CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
index 43737094..4ad80f09 100644
--- a/utests/CMakeLists.txt
+++ b/utests/CMakeLists.txt
@@ -201,12 +201,12 @@ set (utests_sources
utest_helper.cpp)
if (X11_FOUND)
- set(utests_sources
+ SET(utests_sources
${utests_sources}
runtime_climage_from_boname.cpp)
SET(UTESTS_REQUIRED_X11_LIB ${X11_LIBRARIES} ${XEXT_LIBRARIES})
else()
-SET(UTESTS_REQUIRED_X11_LIB "")
+ SET(UTESTS_REQUIRED_X11_LIB "")
endif (X11_FOUND)
SET (kernel_bin ${CMAKE_CURRENT_SOURCE_DIR}/../kernels/compiler_ceil)
@@ -224,8 +224,8 @@ else(GEN_PCI_ID)
endif(GEN_PCI_ID)
if (DRM_INTEL_USERPTR)
-SET(CMAKE_CXX_FLAGS "-DHAS_USERPTR ${CMAKE_CXX_FLAGS}")
-SET(CMAKE_C_FLAGS "-DHAS_USERPTR ${CMAKE_C_FLAGS}")
+ SET(CMAKE_CXX_FLAGS "-DHAS_USERPTR ${CMAKE_CXX_FLAGS}")
+ SET(CMAKE_C_FLAGS "-DHAS_USERPTR ${CMAKE_C_FLAGS}")
endif (DRM_INTEL_USERPTR)
ADD_CUSTOM_TARGET(kernel_bin.bin
@@ -243,16 +243,16 @@ add_custom_target(utest_generator
)
if (EGL_FOUND AND MESA_SOURCE_FOUND)
-SET(utests_sources ${utests_sources} compiler_fill_gl_image.cpp)
-SET(CMAKE_CXX_FLAGS "-DHAS_EGL ${CMAKE_CXX_FLAGS} ${DEF_OCL_PCH_PCM_PATH}")
-SET(CMAKE_C_FLAGS "-DHAS_EGL ${CMAKE_C_FLAGS} ${DEF_OCL_PCH_PCM_PATH}")
-SET(UTESTS_REQUIRED_EGL_LIB ${EGL_LIBRARIES})
+ SET(utests_sources ${utests_sources} compiler_fill_gl_image.cpp)
+ SET(CMAKE_CXX_FLAGS "-DHAS_EGL ${CMAKE_CXX_FLAGS} ${DEF_OCL_PCH_PCM_PATH}")
+ SET(CMAKE_C_FLAGS "-DHAS_EGL ${CMAKE_C_FLAGS} ${DEF_OCL_PCH_PCM_PATH}")
+ SET(UTESTS_REQUIRED_EGL_LIB ${EGL_LIBRARIES})
else()
-SET(UTESTS_REQUIRED_EGL_LIB "")
+ SET(UTESTS_REQUIRED_EGL_LIB "")
endif()
if (COMPILER STREQUAL "CLANG")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
endif ()
ADD_LIBRARY(utests SHARED ${ADDMATHFUNC} ${utests_sources})