From 31fec2b0f974119822c3459cfb44f5ebba7c1e43 Mon Sep 17 00:00:00 2001 From: Will Sobel Date: Sat, 12 Aug 2023 00:30:55 +0200 Subject: [PATCH] Fixed windows packaging --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 556f12bf..d256a369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,8 @@ include(GNUInstallDirs) if(NOT MSVC) set(CMAKE_INSTALL_DATADIR "share/mtconnect") +else() + set(CMAKE_INSTALL_DATADIR ".") endif() # For Visual Studio generators it is now possible (since V3.6) to set a default startup project.