Skip to content

Commit

Permalink
Fixed overridden compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralanglois committed Aug 30, 2016
1 parent 1ea0bd0 commit 2800d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/tests/interop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ add_test(NAME interop_gtests WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/testB
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set_target_properties(interop_gtests PROPERTIES COMPILE_FLAGS "-Wno-unnamed-type-template-args")
endif()

if(NOT ENABLE_STATIC)
add_custom_command(TARGET interop_gtests POST_BUILD
Expand All @@ -67,6 +64,6 @@ if(MSVC)
elseif(MINGW)
set_target_properties(interop_gtests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj -Wno-unused-function")
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCC)
set_target_properties(interop_gtests PROPERTIES COMPILE_FLAGS "-Wno-unused-function")
set_target_properties(interop_gtests PROPERTIES COMPILE_FLAGS "-Wno-unused-function -Wno-unnamed-type-template-args")
endif()

2 changes: 1 addition & 1 deletion src/tests/interop/metrics/inc/metric_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace illumina{ namespace interop { namespace unittest {
class metric_test
{
public:
enum
enum Checks
{
/** Version of the format */
VERSION=Version,
Expand Down

0 comments on commit 2800d36

Please sign in to comment.