tune the order of link libraries, based on estimated dependency sequence

This commit is contained in:
Dick Hollenbeck 2012-01-25 08:56:52 -06:00
parent bc48b8507b
commit 4cbb5c5e94
3 changed files with 12 additions and 6 deletions

View File

@ -94,11 +94,11 @@ target_link_libraries(cvpcb
3d-viewer 3d-viewer
pcbcommon pcbcommon
common common
polygon
bitmaps bitmaps
polygon
kbool kbool
${OPENGL_LIBRARIES}
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
${OPENGL_LIBRARIES}
${GDI_PLUS_LIBRARIES} ${GDI_PLUS_LIBRARIES}
) )

View File

@ -207,8 +207,14 @@ if(APPLE)
${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
endif(APPLE) endif(APPLE)
target_link_libraries(eeschema common bitmaps kbool polygon ${wxWidgets_LIBRARIES} target_link_libraries(eeschema
${GDI_PLUS_LIBRARIES}) common
bitmaps
polygon
kbool
${wxWidgets_LIBRARIES}
${GDI_PLUS_LIBRARIES}
)
install(TARGETS eeschema install(TARGETS eeschema
DESTINATION ${KICAD_BIN} DESTINATION ${KICAD_BIN}

View File

@ -278,11 +278,11 @@ target_link_libraries(pcbnew
3d-viewer 3d-viewer
pcbcommon pcbcommon
common common
polygon
bitmaps bitmaps
polygon
kbool kbool
${OPENGL_LIBRARIES}
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
${OPENGL_LIBRARIES}
${GDI_PLUS_LIBRARIES} ${GDI_PLUS_LIBRARIES}
) )