cmake_minimum_required(VERSION 3.0)

project(test)

find_package(autodiff REQUIRED)

add_executable(test main.cpp)

target_link_libraries(test autodiff::autodiff)

cmake_minimum_required(VERSION 3.0)

project(test LANGUAGES CXX)

find_package(autodiff REQUIRED)

add_executable(test main.cpp)

target_link_libraries(test autodiff::autodiff)

Add only CXX to LANGUAGES in cmake project command
Add only CXX to LANGUAGES in cmake project command
