mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-21 19:30:35 +00:00
cmake: Don't set CMAKE_INSTALL_PREFIX
While trying to set a default for CMAKE_INSTALL_PREFIX sounds appealing it has multiple issues. It's particularly problematic for open source projects where many users try to accomplish many different things. It's also conflicting with the new way of installing with cmake IE: `cmake --install build --prefix build/install` I've already removed similar logic in various other Khronos repositories a while ago to address similar complaints. closes #1015
This commit is contained in:
parent
c51a510b03
commit
50527923a5
@ -104,10 +104,6 @@ else()
|
||||
endif()
|
||||
option(ENABLE_CTEST "Enables testing" ON)
|
||||
|
||||
if(ENABLE_GLSLANG_INSTALL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WIN32)
|
||||
set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "..." FORCE)
|
||||
endif()
|
||||
|
||||
if(ENABLE_CTEST)
|
||||
include(CTest)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user