5837f19690
First, it prevents a NULL dereference and second it reiterates that targets without languages are not supported by CMake. Add a RunCMake.ExportWithoutLanguage test exporting a library without a languages.
3 lines
108 B
CMake
3 lines
108 B
CMake
add_library(NoLanguage header.h)
|
|
export(TARGETS NoLanguage FILE "${CMAKE_CURRENT_BINARY_DIR}/export.cmake")
|