Browse Source

Update CMakeLists.txt

To correctly fill in the keyword fields "Version" in the pkg-config files section, you must specify the value of the "VERSION" option when calling the project() command
morgonf 1 năm trước cách đây
mục cha
commit
f0c6cd0bf8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -5,7 +5,7 @@ cmake_policy(SET CMP0054 NEW)
 cmake_policy(SET CMP0057 NEW)
 cmake_policy(SET CMP0057 NEW)
 
 
 # Set up the project
 # Set up the project
-project (civetweb)
+project (civetweb VERSION 1.16.0)
 
 
 # Detect the platform reliably
 # Detect the platform reliably
 if(ZEPHYR_BASE)
 if(ZEPHYR_BASE)