[libcalamares] Fix build

- The API definitions are just the symbols to define; these
  are variously added through add_definitions() (needs -D)
  or target_add_definitions() (doesn't).
main
Adriaan de Groot 4 years ago
parent 40aa0fcaba
commit 9ce08beead

@ -120,7 +120,9 @@ if ( KPMcore_FOUND )
find_package( Qt5 REQUIRED DBus ) # Needed for KPMCore
find_package( KF5 REQUIRED I18n WidgetsAddons ) # Needed for KPMCore
add_definitions( ${KPMcore_API_DEFINITIONS} )
foreach ( d ${KPMcore_API_DEFINITIONS} )
add_definitions( -D${d} )
endforeach()
include_directories( ${KPMCORE_INCLUDE_DIR} )
list( APPEND libSources
partition/FileSystem.cpp

Loading…
Cancel
Save