diff options
Diffstat (limited to 'cmake/piglit_util.cmake')
-rw-r--r-- | cmake/piglit_util.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/piglit_util.cmake b/cmake/piglit_util.cmake index 382485bff..3a45e8a7d 100644 --- a/cmake/piglit_util.cmake +++ b/cmake/piglit_util.cmake @@ -62,6 +62,8 @@ function(piglit_add_executable name) add_executable(${name} ${ARGV}) add_dependencies(${name} piglit_dispatch_gen) + install(TARGETS ${name} DESTINATION bin) + endfunction(piglit_add_executable) # @@ -79,6 +81,7 @@ function(piglit_add_library name) add_library(${name} ${ARGV}) else(WIN32) add_library(${name} SHARED ${ARGV}) + install(TARGETS ${name} DESTINATION lib) endif(WIN32) add_dependencies(${name} piglit_dispatch_gen) |