CMakeLists.txt: Set project language to C

Otherwise, CMake tests the system C++ compiler by default, which is not
a requirement for dynstr.
This commit is contained in:
Xavier Del Campo Romero 2023-08-02 13:06:08 +02:00
parent 57c9dfcfd0
commit 58bd7d9376
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 1 deletions

View File

@ -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")