summaryrefslogtreecommitdiff
path: root/blockdev
diff options
context:
space:
mode:
authorIng. Radomír Polách <rp@t4d.cz>2016-09-05 23:29:39 +0200
committerIng. Radomír Polách <rp@t4d.cz>2016-09-05 23:29:39 +0200
commit5546ffcf2e737d2f12fce96a98e7c1ac4edf4333 (patch)
tree5a4d3dcc2a51403662058b122dac7dc29a3d581a /blockdev
parent8fd74cea1b1dda245797096d4236c5fdf86725ce (diff)
fix: mingw build
Diffstat (limited to 'blockdev')
-rw-r--r--blockdev/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/blockdev/CMakeLists.txt b/blockdev/CMakeLists.txt
index 1da4447..a16e810 100644
--- a/blockdev/CMakeLists.txt
+++ b/blockdev/CMakeLists.txt
@@ -1,9 +1,10 @@
#Blockdev library
-if (BLOCKDEV_TYPE STREQUAL linux)
-aux_source_directory(linux BLOCKDEV_SRC)
-elseif (BLOCKDEV_TYPE STREQUAL windows)
-aux_source_directory(windows BLOCKDEV_SRC)
+if (WIN32)
+ aux_source_directory(linux BLOCKDEV_SRC)
+ aux_source_directory(windows BLOCKDEV_SRC)
+elseif (BLOCKDEV_TYPE STREQUAL linux)
+ aux_source_directory(linux BLOCKDEV_SRC)
else()
endif()