cmake builds shouldn't be linking to libraries that we dynload
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
3727c9f587
commit
fcca66d1e4
1 changed files with 2 additions and 6 deletions
|
|
@ -139,7 +139,6 @@ if(MW_USE_FREETYPE2)
|
||||||
|
|
||||||
list(APPEND INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
|
list(APPEND INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
|
||||||
list(APPEND LIBRARY_DIRS ${FREETYPE_LIBRARY_DIRS})
|
list(APPEND LIBRARY_DIRS ${FREETYPE_LIBRARY_DIRS})
|
||||||
list(APPEND LIBRARIES ${FREETYPE_LIBRARIES})
|
|
||||||
else()
|
else()
|
||||||
message(WARNING "FreeType2 not found")
|
message(WARNING "FreeType2 not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -341,7 +340,6 @@ else()
|
||||||
if(${X11_FOUND})
|
if(${X11_FOUND})
|
||||||
list(APPEND INCLUDE_DIRS ${X11_INCLUDE_DIRS})
|
list(APPEND INCLUDE_DIRS ${X11_INCLUDE_DIRS})
|
||||||
list(APPEND LIBRARY_DIRS ${X11_LIBRARY_DIRS})
|
list(APPEND LIBRARY_DIRS ${X11_LIBRARY_DIRS})
|
||||||
list(APPEND LIBRARIES ${X11_LIBRARIES} m)
|
|
||||||
target_compile_definitions(
|
target_compile_definitions(
|
||||||
Mw
|
Mw
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
@ -351,7 +349,6 @@ else()
|
||||||
if(${X11_Xrender_FOUND})
|
if(${X11_Xrender_FOUND})
|
||||||
list(APPEND INCLUDE_DIRS ${XRENDER_INCLUDE_DIRS})
|
list(APPEND INCLUDE_DIRS ${XRENDER_INCLUDE_DIRS})
|
||||||
list(APPEND LIBRARY_DIRS ${XRENDER_LIBRARY_DIRS})
|
list(APPEND LIBRARY_DIRS ${XRENDER_LIBRARY_DIRS})
|
||||||
list(APPEND LIBRARIES ${XRENDER_LIBRARIES} m)
|
|
||||||
target_compile_definitions(
|
target_compile_definitions(
|
||||||
Mw
|
Mw
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
@ -369,7 +366,6 @@ find_package(DBus1)
|
||||||
if(${DBus1_FOUND})
|
if(${DBus1_FOUND})
|
||||||
list(APPEND INCLUDE_DIRS ${DBUS_INCLUDE_DIRS})
|
list(APPEND INCLUDE_DIRS ${DBUS_INCLUDE_DIRS})
|
||||||
list(APPEND LIBRARY_DIRS ${DBUS_LIBRARY_DIRS})
|
list(APPEND LIBRARY_DIRS ${DBUS_LIBRARY_DIRS})
|
||||||
list(APPEND LIBRARIES ${DBUS_LIBRARIES})
|
|
||||||
target_compile_definitions(
|
target_compile_definitions(
|
||||||
Mw
|
Mw
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue