Skip to content

Commit e6c22f5

Browse files
committed
chore(CMakeLists.txt): change install prefix
1 parent 13cd31d commit e6c22f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ else()
1919
set(VCPKG_TARGET_TRIPLET ${VCPKG_ROOT_TRIPLET})
2020
endif()
2121

22+
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
23+
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/bin" CACHE PATH "Default install path" FORCE)
24+
endif()
25+
2226
project(qSQLbrowser)
2327

2428
set(CMAKE_INSTALL_BINDIR .)

0 commit comments

Comments
 (0)