Skip to content

Build failing when linking QuEST as a library #689

Description

@vaferreiQMT

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions