Browse Source

Don't copy include

pull/45/head
Fangrui Song 6 years ago
parent
commit
1b92315e20
  1. 7
      CMakeLists.txt

7
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}")

Loading…
Cancel
Save