From 1f6a991e3cc110a0768f6a0a37898e2f345594e7 Mon Sep 17 00:00:00 2001 From: Axel Nana Date: Fri, 27 Sep 2024 12:57:59 +0100 Subject: [PATCH] chore: Improve build system. --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93d8175..5ab7982 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,8 @@ cmake_minimum_required(VERSION 3.20) cmake_policy(SET CMP0048 NEW) -list(APPEND CMAKE_MODULE_PATH "${ENV_AM_SDK_PATH}/cmake" "${AM_SDK_PATH}/cmake") -list(APPEND CMAKE_PREFIX_PATH "${ENV_AM_SDK_PATH}/cmake" "${AM_SDK_PATH}/cmake") - -set(AM_SDK_PLATFORM ${VCPKG_TARGET_TRIPLET}) +list(APPEND CMAKE_MODULE_PATH "$ENV{AM_SDK_PATH}/cmake" "${AM_SDK_PATH}/cmake") +list(APPEND CMAKE_PREFIX_PATH "$ENV{AM_SDK_PATH}/cmake" "${AM_SDK_PATH}/cmake") project(AmplitudeVorbisCodecPlugin)