CMake: Respect user-defined install path

This commit is contained in:
Pierre Moreau 2015-11-17 23:27:35 +01:00 committed by David Neto
parent 748d585a9a
commit 01a3b9ce36

View File

@ -239,7 +239,6 @@ if (NOT ${SPIRV_SKIP_EXECUTABLES})
endif()
endif()
set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/install)
install(TARGETS ${SPIRV_BUILT_TARGETS}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib