Fix inexplicable change to dylib paths with new VM.
[lwext4.git] / CMakeLists.txt
index 71eb24ddfe4f546a685976d2ca56c3aabe68b30e..8384760a51c1b6e2a0e875ad57c855ff8923d8e7 100644 (file)
@@ -2,6 +2,7 @@ project(lwext4 C)
 cmake_minimum_required(VERSION 3.4)
 
 
+include_directories(include)
 include_directories(${PROJECT_BINARY_DIR}/include)
 include_directories(blockdev/filedev)
 include_directories(blockdev/filedev_win)
@@ -46,7 +47,6 @@ else()
     add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
     add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
     add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
-    add_subdirectory(fs_test)
 endif()
 
 macro(output_configure)
@@ -84,12 +84,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}")