CMake: Fix unnecessary build steps
This commit is contained in:
@@ -25,7 +25,6 @@ if(ENABLE_LIB_livoxProto1)
|
||||
)
|
||||
target_link_libraries(livoxProto1 PUBLIC
|
||||
Boost::system Boost::log
|
||||
attachmentSupport
|
||||
spinscale
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ if(ENABLE_LIB_xcbXorg)
|
||||
# Set config define for header generation
|
||||
add_compile_definitions(CONFIG_LIB_XCBXORG_ENABLED)
|
||||
target_include_directories(xcbXorg PUBLIC ${XCB_INCLUDE_DIRS})
|
||||
target_link_libraries(xcbXorg ${XCB_LIBRARIES} attachmentSupport)
|
||||
target_link_libraries(xcbXorg ${XCB_LIBRARIES})
|
||||
|
||||
# Install rules
|
||||
install(TARGETS xcbXorg
|
||||
|
||||
@@ -28,7 +28,6 @@ if(ENABLE_STIMBUFFAPI_xcbWindow)
|
||||
target_link_libraries(xcbWindow
|
||||
Boost::system Boost::log
|
||||
${XCB_LIBRARIES}
|
||||
attachmentSupport
|
||||
spinscale)
|
||||
|
||||
# Install rules
|
||||
|
||||
Reference in New Issue
Block a user