Skip to content

Commit 76ae574

Browse files
committed
Cmake: force set install prefix on macos
this fixes an issue where experiencing a cmake config-step error would leave install prefix set to /usr/local
1 parent f462f09 commit 76ae574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ endif()
130130

131131
if(APPLE)
132132
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
133-
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/Install" CACHE STRING "Cmake install path")
133+
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/Install" CACHE STRING "Cmake install path" FORCE)
134134
endif()
135135
elseif(UNIX)
136136
add_definitions(-DSC_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/SuperCollider")

0 commit comments

Comments
 (0)