Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gregschlom opened this issue Dec 16, 2022 · 0 comments
Open

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

gregschlom opened this issue Dec 16, 2022 · 0 comments

Comments

@gregschlom
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant