File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,13 @@ endif()
22
22
# listed here: https://cmake.org/cmake/help/latest/command/project.html.
23
23
# We use this name to export all the files such that is then possible to use
24
24
# find_package(LibTemplateCMake) in third party projects.
25
+ # LANGUAGES specifies which languages your project supports. To have a broad
26
+ # support with external libraries, it is good practice to list both CXX and C.
27
+ # Infact, some legacy Find<package>.cmake files that require the C language to
28
+ # be enabled and thus using only CXX may cause issues. Note that by default when
29
+ # LANGUAGES is not specified CMake enables both CXX and C.
25
30
project (LibTemplateCMake
26
- LANGUAGES CXX
31
+ LANGUAGES CXX C
27
32
VERSION 0.0.0.0)
28
33
29
34
# Defines the CMAKE_INSTALL_LIBDIR, CMAKE_INSTALL_BINDIR and many other useful macros.
You can’t perform that action at this time.
0 commit comments