From 8e8d6537aa93d11bf22bbf7116c480c612f782be Mon Sep 17 00:00:00 2001 From: ju1ce Date: Wed, 13 Jul 2022 15:16:27 +0200 Subject: [PATCH] fixed BridgeDriver overwriting install directory of ATT --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eef3c604..a26573a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,6 @@ cmake_minimum_required(VERSION "3.15") project("BridgeDriver" CXX) set_property(GLOBAL PROPERTY USE_FOLDERS ON) -include("${SUPERPROJECT_SOURCE_DIR}/CMake/shared.cmake") - # Deps set(OPENVR_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/deps/openvr/headers") @@ -53,10 +51,6 @@ target_compile_definitions("${LIB_NAME}" PUBLIC ATT_DRIVER_VERSION=${DRIVER_VERS target_link_libraries("${LIB_NAME}" PUBLIC common::semver) -if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/install" CACHE PATH "Install destination." FORCE) -endif() - set(DRIVER_INSTALL_DIR "driver_files") install(TARGETS "${LIB_NAME}"