We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e40b9c commit ad0c842Copy full SHA for ad0c842
test/CMakeLists.txt
@@ -1,7 +1,7 @@
1
cmake_minimum_required(VERSION 3.15)
2
-project(example C)
+project(example CXX)
3
4
find_package(ZLIB REQUIRED)
5
6
-add_executable(${PROJECT_NAME} src/main.c)
+add_executable(${PROJECT_NAME} src/main.cpp)
7
target_link_libraries(${PROJECT_NAME} ZLIB::ZLIB)
test/src/main.c test/src/main.cpptest/src/main.c renamed to test/src/main.cpp
0 commit comments