X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=68a9cb0d2c6aa1e30072c7f4adff11e437207e19;hb=5546ffcf2e737d2f12fce96a98e7c1ac4edf4333;hp=f104b65c0cc4929554e385a14ca5c851e6c1fc43;hpb=8fd74cea1b1dda245797096d4236c5fdf86725ce;p=lwext4.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f104b65..68a9cb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,11 @@ elseif(LIB_ONLY) add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16) else() #Generic example target - set(BLOCKDEV_TYPE linux) + if (WIN32) + set(BLOCKDEV_TYPE windows) + else() + set(BLOCKDEV_TYPE linux) + endif() set (INSTALL_LIB 1) add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0) add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)