fix linking to dl
This commit is contained in:
parent
2a9b6ac9f9
commit
9f34a13d44
@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|||||||
|
|
||||||
project(solanaceae)
|
project(solanaceae)
|
||||||
|
|
||||||
|
#TODO: seperate into host and client
|
||||||
add_library(solanaceae_plugin
|
add_library(solanaceae_plugin
|
||||||
./solanaceae/plugin/solana_plugin_v1.h
|
./solanaceae/plugin/solana_plugin_v1.h
|
||||||
./solanaceae/plugin/plugin.hpp
|
./solanaceae/plugin/plugin.hpp
|
||||||
@ -12,7 +13,8 @@ add_library(solanaceae_plugin
|
|||||||
|
|
||||||
target_include_directories(solanaceae_plugin PUBLIC .)
|
target_include_directories(solanaceae_plugin PUBLIC .)
|
||||||
target_compile_features(solanaceae_plugin PUBLIC cxx_std_17)
|
target_compile_features(solanaceae_plugin PUBLIC cxx_std_17)
|
||||||
#target_link_libraries(solanaceae_plugin PUBLIC
|
target_link_libraries(solanaceae_plugin PUBLIC
|
||||||
#solanaceae_core
|
#solanaceae_core
|
||||||
#)
|
${CMAKE_DL_LIBS}
|
||||||
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user