Skip to content

#include <cmrc/cmrc.hpp> never finds the include file #5

Description

@Randalphwa

Migrated from vector-of-bool/cmrc issue #43 by @

CMakeLists.txt:

include(CMakeRC.cmake)

cmrc_add_resource_library(my_files data/foo.bin)

add_executable(
    MyApp
    main.cpp
)
target_link_libraries(
    MyApp
    PRIVATE
    my_files 
    ...
)

However for some reason #include <cmrc/cmrc.hpp> always says the include file cannot be found. When I look at the compiler command, I don't see the include path anywhere (there's no -I<...>/cmrc anywhere).

Any idea what might be going on?

CMake version 3.23.

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