diff options
Diffstat (limited to 'blockdev')
| -rw-r--r-- | blockdev/CMakeLists.txt | 9 |
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() |
