Skip to content
Snippets Groups Projects
Commit f5bbd8eb authored by Mathieu Westphal's avatar Mathieu Westphal
Browse files

CMake: Add control for disabling cdi unknown sources

parent 2b84caae
No related branches found
No related tags found
No related merge requests found
......@@ -190,8 +190,14 @@ list( APPEND cdi_unknown
resource_unpack.h
)
option(CDI_BUILD_UNKNOWN "Build unknown sources in libcdi" ON)
mark_as_advanced(CDI_BUILD_UNKNOWN)
if (CDI_BUILD_UNKNOWN)
list(APPEND cdi_src_files ${cdi_unknown})
endif ()
add_library(cdilib
${cdi_src_files} ${cdi_unknown}
${cdi_src_files}
# INSTALL_HEADERS_LIST cdi.h
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment