Add DLLEXPORT_PRO definitions.

main
Teo Mrnjavac 11 years ago
parent 13fcf387c7
commit d20e3ce598

@ -1,5 +1,7 @@
project( calamares )
add_definitions( -DUIDLLEXPORT_PRO )
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
message( "Building in debug mode, enabling all debug updates" )
endif()

@ -3,6 +3,7 @@ project( calamareslib )
add_definitions( ${QT_DEFINITIONS} )
add_definitions( -DQT_SHARED )
add_definitions( -DQT_SHAREDPOINTER_TRACK_POINTERS )
add_definitions( -DDLLEXPORT_PRO )
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../calamares/Config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h )

Loading…
Cancel
Save