diff --git a/CMakeLists.txt b/CMakeLists.txt index 211b19e..d15ed1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,12 +77,11 @@ elseif (IS_OS_LINUX) message(STATUS "Vulkan was not found.") endif () - target_include_directories(Pong PUBLIC ${USER_HOME_DIRECTORY}/.local/include) + target_include_directories(Pong PRIVATE ${USER_HOME_DIRECTORY}/.local/include) - target_link_directories(Pong PUBLIC "${USER_HOME_DIRECTORY}/.local/lib") + target_link_directories(Pong PRIVATE "${USER_HOME_DIRECTORY}/.local/lib") - target_link_libraries(Pong PUBLIC Vulkan::Headers) - target_link_libraries(Pong xcb xcb-cursor xcb-xfixes xcb-xinput wayland-client z asound Vulkan::Headers Vulkan::Vulkan) + target_link_libraries(Pong PRIVATE xcb xcb-cursor xcb-xfixes xcb-xinput asound Vulkan::Headers Vulkan::Vulkan) endif() target_link_libraries(Pong PRIVATE LWE EHC EHE EHS OpenSSL::SSL OpenSSL::Crypto ZLIB::ZLIB) \ No newline at end of file