CMakeLists.txt: set project VERSION

This commit is contained in:
Xavier Del Campo Romero 2023-10-25 14:07:42 +02:00
parent c4979825b7
commit de0d0e9fab
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
project(dynstr C 0.1.0)
add_library(${PROJECT_NAME} "dynstr.c")
target_include_directories(${PROJECT_NAME} PUBLIC "include")
install(TARGETS ${PROJECT_NAME})