cmakelists: make library shared

This commit is contained in:
Vaxry 2023-12-28 21:26:25 +01:00
parent 1c46cc857b
commit b355124950

View file

@ -10,7 +10,7 @@ set(CMAKE_CXX_STANDARD 23)
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp" "include/hyprlang.hpp")
add_library(hyprlang ${SRCFILES})
add_library(hyprlang SHARED ${SRCFILES})
target_include_directories( hyprlang
PUBLIC "./include"
PRIVATE "./src"