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

CMake: Add control for disabling cdi unknown sources

parent c386857a
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !134. Comments created here will be created in the context of that merge request.
......@@ -190,11 +190,17 @@ 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 ()
# Support exporting all symbolds on Windows
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
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