mirror of
https://github.com/simon987/pg_hamming.git
synced 2025-04-04 07:22:58 +00:00
fix include dirs
This commit is contained in:
parent
eb49a94ebc
commit
5fc9c8548d
@ -1,10 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
include_directories("/usr/include/postgresql/server/")
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
project(hamming C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
find_package(PostgreSQL REQUIRED)
|
||||
|
||||
include_directories(${PostgreSQL_INCLUDE_DIRS})
|
||||
|
||||
add_library(hamming SHARED hamming.c)
|
||||
target_compile_options(
|
||||
hamming
|
||||
|
Loading…
x
Reference in New Issue
Block a user