-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
Howdy!
I was playing around with QuEST last week and ran into some funky build system behaviour. Namely, QuEST will compile on its own but fail when linked as a library.
Basic example
cmake_minimum_required(VERSION 3.16)
project(ExampleApp)
include(FetchContent)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
FetchContent_Declare(
quest
GIT_REPOSITORY https://github.com/QuEST-Kit/QuEST
)
FetchContent_MakeAvailable(quest)
add_executable(ExampleApp main.cpp)
target_link_libraries(BasicApp PUBLIC QuEST)
Building will fail with fatal error: 'quest/include/config.h' file not found
.
Not a CMake connoisseur but I found the following:
Current commit (2655690): fatal error: 'quest/include/config.h' file not found
21 June (f28691c): fatal error: 'quest/include/config.h' file not found
8 May (9be1dfd): fatal error: 'quest.h' file not found
6 May (ce95cf2): BUILDS
Thanks!
Metadata
Metadata
Assignees
Labels
No labels