Ports: Remove LibDraw from c-ray CMakeLists.txt

This commit is contained in:
Linus Groh 2020-04-06 15:05:19 +01:00 committed by Andreas Kling
parent 9aaf19f4de
commit 061badeaea

View file

@ -7,7 +7,7 @@ index 5ccce96..1db6074 100644
target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARY})
else()
- target_link_libraries(${PROJECT_NAME} -lpthread -lm ${SDL2_LIBRARY})
+ target_link_libraries(${PROJECT_NAME} -lSDL2 -lgui -ldraw -lgfx -lipc -lcore -lpthread -lm -lstdc++)
+ target_link_libraries(${PROJECT_NAME} -lSDL2 -lgui -lgfx -lipc -lcore -lpthread -lm -lstdc++)
endif()
add_definitions(-DUI_ENABLED)
else()
@ -16,7 +16,7 @@ index 5ccce96..1db6074 100644
target_link_libraries(${PROJECT_NAME})
else()
- target_link_libraries(${PROJECT_NAME} -lpthread -lm)
+ target_link_libraries(${PROJECT_NAME} -lgui -ldraw -lipc -lcore -lpthread -lm -lstdc++)
+ target_link_libraries(${PROJECT_NAME} -lgui -lipc -lcore -lpthread -lm -lstdc++)
endif()
endif()
else()
@ -25,6 +25,6 @@ index 5ccce96..1db6074 100644
target_link_libraries(${PROJECT_NAME})
else()
- target_link_libraries(${PROJECT_NAME} -lpthread -lm)
+ target_link_libraries(${PROJECT_NAME} -lgui -ldraw -lipc -lcore -lpthread -lm -lstdc++)
+ target_link_libraries(${PROJECT_NAME} -lgui -lipc -lcore -lpthread -lm -lstdc++)
endif()
endif()