fix: Run strip_flags_binary test only for release configurations (#163)
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Tue, 2 Aug 2016 11:15:44 +0000 (12:15 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2016 11:15:44 +0000 (12:15 +0100)
test/CMakeLists.txt

index 7e7fa86..4cd1e69 100644 (file)
@@ -40,6 +40,7 @@ add_test (
   NAME strip_flags_binary
   COMMAND "${CMAKE_COMMAND}" "-DBINARY=$<TARGET_FILE:gflags_strip_flags_test>"
           -P "${CMAKE_CURRENT_SOURCE_DIR}/gflags_strip_flags_test.cmake"
+  CONFIGURATIONS Release MinSizeRel
 )
 
 # ----------------------------------------------------------------------------