From: Joel Holdsworth Date: Fri, 12 Oct 2012 22:42:49 +0000 (+0100) Subject: Moved install rule out of test section in CMakeLists.txt X-Git-Tag: pulseview-0.1.0~270 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bc1c1462b366a327e2abfc3c0169ab2f657533a5;p=pulseview.git Moved install rule out of test section in CMakeLists.txt --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3741e2a7..41e62318 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)