Fix cmake build

This commit is contained in:
Henrik Rydgård 2023-07-20 13:50:10 +02:00
parent 83e3cf7872
commit 010c58231b

View File

@ -1,10 +1,10 @@
cmake_minimum_required (VERSION 3.2.0) cmake_minimum_required (VERSION 3.2.0)
project (naett) project (naett)
set(SRC_DIR ../naett/src) set(SRC_DIR ../naett)
set(ALL_SOURCE_FILES set(ALL_SOURCE_FILES
${SRC_DIR}/naett/naett.c ${SRC_DIR}/naett.c
) )
add_library(naett STATIC ${ALL_SOURCE_FILES}) add_library(naett STATIC ${ALL_SOURCE_FILES})