diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-02 13:06:08 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-02 13:06:08 +0200 |
| commit | 58bd7d93762e7a5eeba17e0cdb527b7f600ddc64 (patch) | |
| tree | f7fb91b285611200550ce234813ba416317f776b /CMakeLists.txt | |
| parent | 57c9dfcfd0261a1eb0074a3ab85001a342e4cd19 (diff) | |
CMakeLists.txt: Set project language to C
Otherwise, CMake tests the system C++ compiler by default, which is not
a requirement for dynstr.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 728a46e..be96416 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -project(dynstr) +project(dynstr C) add_library(${PROJECT_NAME} STATIC "dynstr.c") target_include_directories(${PROJECT_NAME} PUBLIC "include") |
