This is my CMakeLists.txt:
cmake_minimum_required(VERSION 3.17)
project(fms C)
set(CMAKE_C_STANDARD 99)
add_executable(fms main.c fms.c fms.h fms_data.c)
target_link_libraries(fms m)
The following is one of the compiler errors:
C:\Users\Holland\CLionProjects\fms\fms.c(27): error C2065: "M_PI": nichtdeklarierter Bezeichner