From bc1c1462b366a327e2abfc3c0169ab2f657533a5 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Fri, 12 Oct 2012 23:42:49 +0100 Subject: [PATCH] Moved install rule out of test section in CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2