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