mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
Add DLLEXPORT_PRO definitions.
This commit is contained in:
parent
13fcf387c7
commit
d20e3ce598
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
project( calamares )
|
project( calamares )
|
||||||
|
|
||||||
|
add_definitions( -DUIDLLEXPORT_PRO )
|
||||||
|
|
||||||
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
|
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
|
||||||
message( "Building in debug mode, enabling all debug updates" )
|
message( "Building in debug mode, enabling all debug updates" )
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -3,6 +3,7 @@ project( calamareslib )
|
||||||
add_definitions( ${QT_DEFINITIONS} )
|
add_definitions( ${QT_DEFINITIONS} )
|
||||||
add_definitions( -DQT_SHARED )
|
add_definitions( -DQT_SHARED )
|
||||||
add_definitions( -DQT_SHAREDPOINTER_TRACK_POINTERS )
|
add_definitions( -DQT_SHAREDPOINTER_TRACK_POINTERS )
|
||||||
|
add_definitions( -DDLLEXPORT_PRO )
|
||||||
|
|
||||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../calamares/Config.h.in
|
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../calamares/Config.h.in
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/config.h )
|
${CMAKE_CURRENT_BINARY_DIR}/config.h )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue