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
When installing a STATIC library that includes files using cmrc_add_resource_library, it is necessary to export and install the library generated by CMakeRC as well. This shouldn't be necessary.
An option would be to generate an OBJECT library instead of a STATIC library, and to use it with target_sources and target_include_directories instead of linking it with target_link_libraries
The text was updated successfully, but these errors were encountered:
When installing a
STATIC
library that includes files usingcmrc_add_resource_library
, it is necessary to export and install the library generated byCMakeRC
as well. This shouldn't be necessary.An option would be to generate an
OBJECT
library instead of aSTATIC
library, and to use it withtarget_sources
andtarget_include_directories
instead of linking it withtarget_link_libraries
The text was updated successfully, but these errors were encountered: