From e4b3ee92b5aa16439eccb7fc30a528e5a02197a1 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Mon, 12 Jun 2017 11:03:46 -0600 Subject: build: Install smoketest with make install smoketest is a standalone app that does not need additional resources like textures or shader programs. Change-Id: I335c0baad82343ffd9ff03763c418df11dcc385d --- demos/smoke/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demos/smoke/CMakeLists.txt b/demos/smoke/CMakeLists.txt index bbc00854..22aa3ab8 100644 --- a/demos/smoke/CMakeLists.txt +++ b/demos/smoke/CMakeLists.txt @@ -86,3 +86,7 @@ add_executable(smoketest ${sources}) target_compile_definitions(smoketest ${definitions}) target_include_directories(smoketest ${includes}) target_link_libraries(smoketest ${libraries}) + +if(UNIX) + install(TARGETS smoketest DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() -- cgit v1.2.3