build: fix sys sources not being included in compilation
This commit is contained in:
@@ -11,7 +11,7 @@ function(add_bluelib_module)
|
|||||||
set(root_header include/blue/${module_name}.h)
|
set(root_header include/blue/${module_name}.h)
|
||||||
file(GLOB headers include/blue/${module_name}/*.h)
|
file(GLOB headers include/blue/${module_name}/*.h)
|
||||||
|
|
||||||
add_library(blue-${module_name}-obj OBJECT ${sources} ${root_header} ${headers})
|
add_library(blue-${module_name}-obj OBJECT ${sources} ${sys_sources} ${root_header} ${headers})
|
||||||
|
|
||||||
set_target_properties(blue-${module_name}-obj
|
set_target_properties(blue-${module_name}-obj
|
||||||
PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|||||||
Reference in New Issue
Block a user