From 295737736019f414c8a2f814c8478b3a8d7ccdaa Mon Sep 17 00:00:00 2001 From: Michael Pavlyshko Date: Mon, 7 Jul 2014 23:21:59 +0300 Subject: [PATCH] Fix *_DIR variables for windows --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00c6562d6..f684b2ca0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,9 +127,9 @@ if(CMAKE_COMPILER_IS_GNUCXX OR NOT WIN32) #so far all *nix compilers support suc endif() if(WIN32) # on Win everything goes into H3 root directory - set(BIN_DIR "" CACHE STRING "Where to install binaries") - set(LIB_DIR "" CACHE STRING "Where to install main library") - set(DATA_DIR "" CACHE STRING "Where to install data files") + set(BIN_DIR "." CACHE STRING "Where to install binaries") + set(LIB_DIR "." CACHE STRING "Where to install main library") + set(DATA_DIR "." CACHE STRING "Where to install data files") elseif(APPLE) # includes lib path which determines where to install shared libraries (either /lib or /lib64) include(GNUInstallDirs)