]> sigrok.org Git - pulseview.git/commitdiff
Moved install rule out of test section in CMakeLists.txt
authorJoel Holdsworth <redacted>
Fri, 12 Oct 2012 22:42:49 +0000 (23:42 +0100)
committerJoel Holdsworth <redacted>
Fri, 12 Oct 2012 22:47:19 +0000 (23:47 +0100)
CMakeLists.txt

index 3741e2a72b3541431330a65b5c0e88afd3332b84..41e623186e42e1f085f019a34c05a4be16ecc611 100644 (file)
@@ -143,6 +143,8 @@ target_link_libraries(pulseview
 )
 endif(WIN32)
 
+install(PROGRAMS pulseview DESTINATION bin/)
+
 if(ENABLE_TESTS)
 
 add_definitions(-DBOOST_TEST_DYN_LINK)
@@ -169,6 +171,4 @@ endif(WIN32)
 enable_testing()
 add_test(test ${CMAKE_CURRENT_BINARY_DIR}/pulseview-test)
 
-install(PROGRAMS pulseview DESTINATION bin/)
-
 endif(ENABLE_TESTS)