You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake -S test -B build/test -G Ninja -DCMAKE_PREFIX_PATH=/Users/clausklein/Workspace/cpp/ut/root -DTEST_INSTALLED_VERSION=1
-- The CXX compiler identification is GNU 10.2.0
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++-10 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:11 (find_package):
Could not find a configuration file for package "ut" that is compatible
with requested version "1.1".
The following configuration files were considered but not accepted:
/Users/clausklein/Workspace/cpp/ut/root/lib/cmake/ut/ut-config.cmake, version: unknown
-- Configuring incomplete, errors occurred!
Steps to Reproduce the Problem
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index b00892a..00cb6fb 100644
--- a/test/CMakeLists.txt+++ b/test/CMakeLists.txt@@ -4,5 +4,12 @@# Distributed under the Boost Software License, Version 1.0.# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)#+cmake_minimum_required(VERSION 3.14...3.20)+project(boost.ut LANGUAGES CXX)++if(TEST_INSTALLED_VERSION)+ find_package(ut 1.1 REQUIRED)+endif()+
add_subdirectory(ut)
add_subdirectory(ft)
Specifications
Version: 1.1.8
Platform: Apple OSX
Subsystem: Clang
The text was updated successfully, but these errors were encountered:
Expected Behavior
find_package(ut) # works
Actual Behavior
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: