diff --git a/src/tee/CMakeLists.txt b/src/tee/CMakeLists.txt index 1395c513ae..b8a32fe982 100644 --- a/src/tee/CMakeLists.txt +++ b/src/tee/CMakeLists.txt @@ -5,6 +5,8 @@ set_target_properties(tee PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" ) -install(TARGETS tee - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" -) +if(WIN32) + install(TARGETS tee + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" + ) +endif()