mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 20:29:54 +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
9d8c7b75c9
commit
9743480f3c
@ -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…
Reference in New Issue
Block a user