diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-10 14:43:39 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-10 14:43:39 +0100 |
| commit | 7be16e6e5cfd8e2481a470474f7e41e127e9eba3 (patch) | |
| tree | 337a3db86e9122b30d24a760093ef970e3d1d2d3 /CMakeLists.txt | |
| parent | e7b84e0bf6695cf1dd465b90bd3d8797ec618322 (diff) | |
VERSION must be indicated when passing a version string to project().
Also, LANGUAGES must be also be passed when the language name is not the
only argument to project() (apart from the project name itself).
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 7a6067c..854eb5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. cmake_minimum_required(VERSION 3.0) -project(dynstr C 0.1.0) +project(dynstr LANGUAGES C VERSION 0.1.0) add_library(${PROJECT_NAME} "dynstr.c") target_include_directories(${PROJECT_NAME} PUBLIC "include") install(TARGETS ${PROJECT_NAME}) |
