Changeset View
Changeset View
Standalone View
Standalone View
core/app/CMakeLists.txt
Show First 20 Lines • Show All 501 Lines • ▼ Show 20 Line(s) | 500 | if(NOT WIN32) | |||
---|---|---|---|---|---|
502 | target_link_libraries(digikamgui PUBLIC ${MATH_LIBRARY}) | 502 | target_link_libraries(digikamgui PUBLIC ${MATH_LIBRARY}) | ||
503 | endif() | 503 | endif() | ||
504 | 504 | | |||
505 | if(WIN32) | 505 | if(WIN32) | ||
506 | set_target_properties(digikamgui PROPERTIES COMPILE_FLAGS -DJPEG_STATIC) | 506 | set_target_properties(digikamgui PROPERTIES COMPILE_FLAGS -DJPEG_STATIC) | ||
507 | endif() | 507 | endif() | ||
508 | 508 | | |||
509 | if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD) | 509 | if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD) | ||
510 | target_link_libraries(digikamgui PRIVATE ${KVM_LIBRARY}) | 510 | target_link_libraries(digikamcore PRIVATE ${KVM_LIBRARY}) | ||
511 | endif() | 511 | endif() | ||
512 | 512 | | |||
513 | if(Gphoto2_FOUND) | 513 | if(Gphoto2_FOUND) | ||
514 | # See bug #258931: libgphoto2 library must be the last arg for linker. | 514 | # See bug #258931: libgphoto2 library must be the last arg for linker. | ||
515 | # See bug #268267 : digiKam need to be linked to libusb to prevent crash | 515 | # See bug #268267 : digiKam need to be linked to libusb to prevent crash | ||
516 | # at gphoto2 init if opencv is linked with libdc1394. Libusb linking rules are | 516 | # at gphoto2 init if opencv is linked with libdc1394. Libusb linking rules are | ||
517 | # add to gphoto2 linking rules by Gphoto2 cmake detection script. | 517 | # add to gphoto2 linking rules by Gphoto2 cmake detection script. | ||
518 | 518 | | |||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |