Fix link (hack?)

FossilOrigin-Name: fc0af9bbe616495af6c20bef483ec3dc83649443bc64f0fcc54a724d8067530e
This commit is contained in:
nekobit 2022-12-11 00:23:01 +00:00
parent 0ef61ba959
commit b073520076
2 changed files with 4 additions and 2 deletions

View file

@ -90,7 +90,6 @@ target_link_options(mastodont PUBLIC
target_include_directories(mastodont PUBLIC
include/
${CURL_INCLUDE_DIRS}
PRIVATE
libs/
)

View file

@ -3,9 +3,12 @@ set(MASTODONT_FOUND)
set(MASTODONT_VERSION 0.1)
# Get parent directory of this config file
find_package(CURL REQUIRED)
set(MASTODONT_INCLUDE_DIRS
"${CMAKE_CURRENT_LIST_DIR}/../include"
"${CMAKE_CURRENT_LIST_DIR}/../libs"
)
set(MASTODONT_LIBRARIES "mastodont")
set(MASTODONT_LIBRARIES "mastodont" "curl")