Disable useless compiler warnings.

(To be enabled again later during code cleanup.)


Former-commit-id: b89a16fad5d13d2f39f550b3e5e2e9b991908821
This commit is contained in:
Marek Nečada 2020-01-20 12:22:45 +02:00
parent 80a9f8703a
commit 3da4ec6b07
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ target_link_libraries (qpms
) )
target_include_directories (qpms PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories (qpms PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_options(qpms PRIVATE -Wall -Wno-return-type) target_compile_options(qpms PRIVATE -Wall -Wno-return-type -Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-label)
target_compile_definitions(qpms PRIVATE LATTICESUMS32 QPMS_VECTORS_NICE_TRANSFORMATIONS target_compile_definitions(qpms PRIVATE LATTICESUMS32 QPMS_VECTORS_NICE_TRANSFORMATIONS
EWALD_AUTO_CUTOFF EWALD_AUTO_CUTOFF
) )