summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/opentrack-install.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake
index 074f6d97..392fb3b2 100644
--- a/cmake/opentrack-install.cmake
+++ b/cmake/opentrack-install.cmake
@@ -36,8 +36,10 @@ function(install_sources)
endfunction()
function(cleanup_visual_studio_debug)
- otr_escape_string(pfx "${CMAKE_INSTALL_PREFIX}")
- install(CODE "file(REMOVE_RECURSE \"${pfx}/.vs\")")
+ #if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
+ otr_escape_string(pfx "${CMAKE_INSTALL_PREFIX}")
+ install(CODE "file(REMOVE_RECURSE \"${pfx}/.vs\")")
+ #endif()
endfunction()
otr_install_dir("${opentrack-doc-pfx}" ${CMAKE_SOURCE_DIR}/3rdparty-notices)