]> sigrok.org Git - pulseview.git/commitdiff
Made unit tests optional
authorJoel Holdsworth <redacted>
Fri, 12 Oct 2012 19:53:47 +0000 (20:53 +0100)
committerJoel Holdsworth <redacted>
Fri, 12 Oct 2012 19:53:47 +0000 (20:53 +0100)
CMakeLists.txt

index 21e492735a2f57efdac4bf06e166b3dd81515cd4..4ba2577a25353a87202bb05ba595fd6c484f9e83 100644 (file)
@@ -122,6 +122,8 @@ target_link_libraries(pulseview
 )
 endif(WIN32)
 
+if(ENABLE_TESTS)
+
 add_definitions(-DBOOST_TEST_DYN_LINK)
 
 add_executable(pulseview-test
@@ -147,3 +149,5 @@ enable_testing()
 add_test(test ${CMAKE_CURRENT_BINARY_DIR}/pulseview-test)
 
 install(PROGRAMS pulseview DESTINATION bin/)
+
+endif(ENABLE_TESTS)