[HHPCOMP] Fix 2 MSVC C4101 warnings (#2392)
[reactos.git] / sdk / tools / hhpcomp / CMakeLists.txt
1
2 list(APPEND SOURCE
3 hhpcomp.cpp
4 hhp_reader.cpp
5 utils.cpp
6 chmc/chmc.c
7 chmc/err.c
8 lzx_compress/lz_nonslide.c
9 lzx_compress/lzx_layer.c
10 ../port/mkstemps.c)
11
12 # used by lzx_compress
13 add_definitions(-DNONSLIDE)
14
15 add_executable(hhpcomp ${SOURCE})
16 target_link_libraries(hhpcomp)
17
18 if(MSVC)
19 # Disable warning "'=': conversion from 'a' to 'b', possible loss of data"
20 target_compile_options(hhpcomp PRIVATE "/wd4244")
21 endif()