summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/macros.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/CMake/macros.cmake b/CMake/macros.cmake
index 2af030e9c..242153c3a 100644
--- a/CMake/macros.cmake
+++ b/CMake/macros.cmake
@@ -163,24 +163,6 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
target_link_libraries(${tname} ${LIBRARIES})
- # link in optional libraries
- if (USE_XFT)
- target_link_libraries(${tname} ${X11_Xft_LIB})
- endif (USE_XFT)
-
- if (HAVE_XINERAMA)
- target_link_libraries(${tname} ${X11_Xinerama_LIB})
- endif (HAVE_XINERAMA)
-
- if (HAVE_XRENDER)
- target_link_libraries(${tname} ${X11_Xrender_LIB})
- endif (HAVE_XRENDER)
-
- if (OPTION_APPLE_SDL)
- target_link_libraries(${tname} ${SDL2_LIBRARY})
- endif(OPTION_APPLE_SDL)
-
-
endmacro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
#######################################################################