diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-05-13 21:32:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-05-14 17:40:30 +0200 |
commit | 8a837eeb606e7fe83ac240bd6e1c4997ccfbb6ec (patch) | |
tree | c80b391670d88ced316f711aefa087cc8586a223 /cmake/msvc.cmake | |
parent | 47ac764e6f49b40f3c49be1164d1c58c715a2af8 (diff) |
cmake/msvc: fix install prefix init
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index f810ac4d..cd967dd9 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -70,7 +70,7 @@ set(_LDFLAGS_STATIC "") set(_LDFLAGS_STATIC_RELEASE "-LTCG:INCREMENTAL") set(_LDFLAGS_STATIC_DEBUG "") -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) +if(CMAKE_INSTALL_PREFIX STREQUAL "") set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE STRING "" FORCE) endif() |