diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8729dfc..af0da59 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -25,6 +25,10 @@ add_executable(totato ./fun_commands.cpp ) +set_target_properties(totato PROPERTIES POSITION_INDEPENDENT_CODE ON) +# probably not enough +target_compile_definitions(totato PUBLIC ENTT_API_EXPORT) + target_compile_features(totato PUBLIC cxx_std_17) target_link_libraries(totato PUBLIC solanaceae_util diff --git a/src/main.cpp b/src/main.cpp index 9d964eb..bb9e1df 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,6 +29,9 @@ #include +#include +#include + #include #include #include