Changeset View
Changeset View
Standalone View
Standalone View
libs/image/CMakeLists.txt
Show First 20 Lines • Show All 323 Lines • ▼ Show 20 Line(s) | 323 | PUBLIC | |||
---|---|---|---|---|---|
324 | kritaversion | 324 | kritaversion | ||
325 | kritawidgets | 325 | kritawidgets | ||
326 | kritaglobal | 326 | kritaglobal | ||
327 | kritapsd | 327 | kritapsd | ||
328 | kritaodf | 328 | kritaodf | ||
329 | kritapigment | 329 | kritapigment | ||
330 | kritacommand | 330 | kritacommand | ||
331 | kritawidgetutils | 331 | kritawidgetutils | ||
332 | kritametadata | 332 | kritametadata | ||
rempt: Please don't push unrelated changes. | |||||
333 | Qt5::Concurrent | 333 | Qt5::Concurrent | ||
334 | ) | 334 | ) | ||
335 | 335 | | |||
336 | target_link_libraries(kritaimage PUBLIC ${Boost_SYSTEM_LIBRARY}) | 336 | target_link_libraries(kritaimage PUBLIC ${Boost_SYSTEM_LIBRARY}) | ||
337 | 337 | | |||
338 | if(NOT HAVE_CXX_ATOMICS_WITHOUT_LIB) | ||||
rempt: Shouldn't that then also check for the clang version, or is this safe? | |||||
It is standard for all clang versions to require linking against atomic if it's used. kiroma: It is standard for all clang versions to require linking against atomic if it's used.
However… | |||||
339 | target_link_libraries(kritaimage PUBLIC atomic) | ||||
340 | endif() | ||||
341 | | ||||
338 | if(OPENEXR_FOUND) | 342 | if(OPENEXR_FOUND) | ||
339 | target_link_libraries(kritaimage PUBLIC ${OPENEXR_LIBRARIES}) | 343 | target_link_libraries(kritaimage PUBLIC ${OPENEXR_LIBRARIES}) | ||
340 | endif() | 344 | endif() | ||
341 | 345 | | |||
342 | if(FFTW3_FOUND) | 346 | if(FFTW3_FOUND) | ||
343 | target_link_libraries(kritaimage PRIVATE ${FFTW3_LIBRARIES}) | 347 | target_link_libraries(kritaimage PRIVATE ${FFTW3_LIBRARIES}) | ||
344 | endif() | 348 | endif() | ||
345 | 349 | | |||
Show All 23 Lines |
Please don't push unrelated changes.