summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2018-11-17 15:03:32 -0800
committerFangrui Song <i@maskray.me>2018-12-02 10:15:10 -0800
commit1b92315e20ec184899642c2253370ab917801289 (patch)
treed90c9369bf39306f567c5ace49d7ddfb5f33505c
parentc5f8d135cf3555404f1c4df5617f94f4fc2bac87 (diff)
Don't copy include
-rw-r--r--CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68a9cb0..3d0554c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,7 @@ project(lwext4 C)
cmake_minimum_required(VERSION 2.8)
+include_directories(include)
include_directories(${PROJECT_BINARY_DIR}/include)
include_directories(blockdev/filedev)
include_directories(blockdev/filedev_win)
@@ -84,12 +85,6 @@ else()
set_target_properties(lwext4 PROPERTIES COMPILE_FLAGS "-Wall -Wextra -pedantic")
endif()
-#Config file generation
-file(
- COPY include
- DESTINATION .
-)
-
#DISTRIBUTION
set(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}")