fix linking to dl

This commit is contained in:
Green Sky 2023-05-23 02:57:57 +02:00
parent 2a9b6ac9f9
commit 9f34a13d44
No known key found for this signature in database

View File

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(solanaceae)
#TODO: seperate into host and client
add_library(solanaceae_plugin
./solanaceae/plugin/solana_plugin_v1.h
./solanaceae/plugin/plugin.hpp
@ -12,7 +13,8 @@ add_library(solanaceae_plugin
target_include_directories(solanaceae_plugin PUBLIC .)
target_compile_features(solanaceae_plugin PUBLIC cxx_std_17)
#target_link_libraries(solanaceae_plugin PUBLIC
target_link_libraries(solanaceae_plugin PUBLIC
#solanaceae_core
#)
${CMAKE_DL_LIBS}
)