Skip to content

Commit

Permalink
Fixup MSVC source file inclusion for cmake builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Dec 27, 2021
1 parent 75525fc commit 148ff15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/cmake/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ include_directories(${LIBRARY_DIR} ${LIBRARY_DIR}/common)

file(GLOB CommonSources ${LIBRARY_DIR}/common/*.c)
file(GLOB CompressSources ${LIBRARY_DIR}/compress/*.c)
file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c ${LIBRARY_DIR}/decompress/*.S)
if (MSVC)
file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c)
else ()
file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c ${LIBRARY_DIR}/decompress/*.S)
endif ()
file(GLOB DictBuilderSources ${LIBRARY_DIR}/dictBuilder/*.c)

set(Sources
Expand Down

0 comments on commit 148ff15

Please sign in to comment.