aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-31 15:02:22 +0800
committercrupest <crupest@outlook.com>2019-03-31 15:02:22 +0800
commit877f65e2e2c40eecc7cfeb194dc9d391af60711b (patch)
tree3d229f451aef6f551df3558cdf2e5d9cba586d5a /CMakeLists.txt
parent4c32118df08223dac19f3cf0b10bf187275f0d94 (diff)
downloadcru-877f65e2e2c40eecc7cfeb194dc9d391af60711b.tar.gz
cru-877f65e2e2c40eecc7cfeb194dc9d391af60711b.tar.bz2
cru-877f65e2e2c40eecc7cfeb194dc9d391af60711b.zip
Remove skia.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 0 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7f932f0d..df3e99f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,23 +2,6 @@ cmake_minimum_required(VERSION 3.12) # use 3.12 because VS internal cmake is 3.1
project(CruUI)
-
-if(NOT CRU_CPU_ARCH)
- set(CRU_CPU_ARCH x64)
- message(STATUS "CPU arch not specified, use x64.")
-endif()
-
set(CMAKE_CXX_STANDARD 17)
-add_library(skia STATIC IMPORTED)
-if(${CRU_SKIA_USE_CLANG})
- set_target_properties(skia PROPERTIES IMPORTED_LOCATION_DEBUG ${PROJECT_SOURCE_DIR}/skia/out/Debug_${CRU_CPU_ARCH}_clang/skia.lib
- IMPORTED_LOCATION_RELEASE ${PROJECT_SOURCE_DIR}/skia/out/Release_${CRU_CPU_ARCH}_clang/skia.lib)
-else()
- set_target_properties(skia PROPERTIES IMPORTED_LOCATION_DEBUG ${PROJECT_SOURCE_DIR}/skia/out/Debug_${CRU_CPU_ARCH}/skia.lib
- IMPORTED_LOCATION_RELEASE ${PROJECT_SOURCE_DIR}/skia/out/Release_${CRU_CPU_ARCH}/skia.lib)
-endif()
-
-target_include_directories(skia INTERFACE skia/include)
-
add_subdirectory(src)