if(NOT MSVC)
add_target_compile_flags(reiserfs "-Wno-pointer-sign -Wno-unused-function")
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
- add_target_compile_flags(reiserfs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces")
+ add_target_compile_flags(reiserfs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces -D__GCC__")
endif()
else()
#disable warnings: "unreferenced local variable", "initialized, but not used variable", "benign include"
set_module_type(reiserfs kernelmodedriver)
add_importlibs(reiserfs ntoskrnl hal)
add_pch(reiserfs inc/rfsd.h SOURCE)
-add_cd_file(TARGET reiserfs DESTINATION system32/drivers NO_CAB FOR all)
+add_cd_file(TARGET reiserfs DESTINATION reactos/system32/drivers NO_CAB FOR all)