diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-30 11:27:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-30 11:27:18 +0200 |
commit | 64dcfaca1548a669c93fae686cacd634048cb2ea (patch) | |
tree | a0261f040947a48d8bebc0f1c296ccfe021af173 /cmake | |
parent | e680e33f71da05c4407495e04ed7fd2f4d1e861c (diff) |
add CMAKE_INSTALL_PREFIX_INIT
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 6a3ee586..78ce9e0d 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -24,9 +24,7 @@ if(DEFINED floormat-64bit) endif() endif() -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR CMAKE_INSTALL_PREFIX STREQUAL "") - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "" FORCE) -endif() +set(CMAKE_INSTALL_PREFIX_INIT "${CMAKE_BINARY_DIR}/install") set(CMAKE_C_COMPILER_INIT cl.exe) set(CMAKE_CXX_COMPILER_INIT cl.exe) |