set(UTIL_SRCS
	${CMAKE_CURRENT_LIST_DIR}/pgThreading.c
    ${CMAKE_CURRENT_LIST_DIR}/pgThreading.h
    ${CMAKE_CURRENT_LIST_DIR}/IntDefs.h
    ${CMAKE_CURRENT_LIST_DIR}/CompilerUtilis.h
    ${CMAKE_CURRENT_LIST_DIR}/Timers.h
    ${CMAKE_CURRENT_LIST_DIR}/Timers.c)

add_library(util STATIC ${UTIL_SRCS})
target_include_directories(util PUBLIC
	"${CMAKE_CURRENT_LIST_DIR}/../logging"
    "${CMAKE_CURRENT_LIST_DIR}/../util")
target_link_libraries(util PRIVATE SDL2 logging)
