Back out last commit, because it breaks mapserver build on linux, dammit.
parent
57b47705d7
commit
5c2fd1e4fe
|
|
@ -40,4 +40,9 @@ else (SERVER AND LINUX)
|
|||
set(LLWINDOW_LIBRARIES
|
||||
llwindow
|
||||
)
|
||||
if (WINDOWS)
|
||||
list(APPEND LLWINDOW_LIBRARIES
|
||||
comdlg32
|
||||
)
|
||||
endif (WINDOWS)
|
||||
endif (SERVER AND LINUX)
|
||||
|
|
|
|||
|
|
@ -49,11 +49,8 @@ set_source_files_properties(${llimage_HEADER_FILES}
|
|||
list(APPEND llimage_SOURCE_FILES ${llimage_HEADER_FILES})
|
||||
|
||||
add_library (llimage ${llimage_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llimage
|
||||
llcommon
|
||||
llimagej2coj # *HACK: In theory a noop for KDU builds?
|
||||
target_link_libraries(
|
||||
llimage
|
||||
${JPEG_LIBRARIES}
|
||||
${PNG_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
project(llrender)
|
||||
|
||||
include(00-Common)
|
||||
include(FindOpenGL)
|
||||
include(FreeType)
|
||||
include(LLCommon)
|
||||
include(LLImage)
|
||||
|
|
@ -90,9 +89,3 @@ else (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
|||
)
|
||||
endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
||||
add_library (llrender ${llrender_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llrender
|
||||
llimage
|
||||
${FREETYPE_LIBRARIES}
|
||||
${OPENGL_LIBRARIES})
|
||||
|
|
|
|||
|
|
@ -141,14 +141,3 @@ set_source_files_properties(${llui_HEADER_FILES}
|
|||
list(APPEND llui_SOURCE_FILES ${llui_HEADER_FILES})
|
||||
|
||||
add_library (llui ${llui_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llui
|
||||
llrender
|
||||
llwindow
|
||||
llimage
|
||||
llvfs # ugh, just for LLDir
|
||||
llxml
|
||||
llcommon # must be after llimage, llwindow, llrender
|
||||
llmath
|
||||
)
|
||||
|
|
|
|||
|
|
@ -55,13 +55,6 @@ set(viewer_HEADER_FILES
|
|||
llmousehandler.h
|
||||
)
|
||||
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
set(llwindow_LINK_LIBRARIES
|
||||
${UI_LIBRARIES} # for GTK
|
||||
${SDL_LIBRARY}
|
||||
)
|
||||
|
||||
if (DARWIN)
|
||||
list(APPEND llwindow_SOURCE_FILES
|
||||
llkeyboardmacosx.cpp
|
||||
|
|
@ -105,9 +98,6 @@ if (WINDOWS)
|
|||
lldxhardware.h
|
||||
llkeyboardwin32.h
|
||||
)
|
||||
list(APPEND llwindow_LINK_LIBRARIES
|
||||
comdlg32 # Common Dialogs for ChooseColor
|
||||
)
|
||||
endif (WINDOWS)
|
||||
|
||||
if (SOLARIS)
|
||||
|
|
@ -143,7 +133,6 @@ if (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
|||
${llwindow_SOURCE_FILES}
|
||||
${server_SOURCE_FILES}
|
||||
)
|
||||
target_link_libraries (llwindowheadless ${llwindow_LINK_LIBRARIES})
|
||||
endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
||||
|
||||
if (llwindow_HEADER_FILES)
|
||||
|
|
@ -156,6 +145,4 @@ if (VIEWER)
|
|||
${llwindow_SOURCE_FILES}
|
||||
${viewer_SOURCE_FILES}
|
||||
)
|
||||
target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES})
|
||||
endif (VIEWER)
|
||||
|
||||
|
|
|
|||
|
|
@ -35,10 +35,8 @@ set_source_files_properties(${llxml_HEADER_FILES}
|
|||
list(APPEND llxml_SOURCE_FILES ${llxml_HEADER_FILES})
|
||||
|
||||
add_library (llxml ${llxml_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries( llxml
|
||||
llmath
|
||||
target_link_libraries(
|
||||
llxml
|
||||
${BOOST_SIGNALS_LIBRARY}
|
||||
${EXPAT_LIBRARIES}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue