1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Removed sdrangel_EXPORTS

This commit is contained in:
f4exb 2018-03-09 14:07:39 +01:00
parent 4f9a49cf02
commit e8e2176529
4 changed files with 3 additions and 4 deletions

View File

@ -33,7 +33,7 @@
/* The 'SDRBASE_API' controls the import/export of 'sdrbase' symbols and classes. /* The 'SDRBASE_API' controls the import/export of 'sdrbase' symbols and classes.
*/ */
#if !defined(sdrangel_STATIC) #if !defined(sdrangel_STATIC)
# if defined sdrangel_EXPORTS || defined sdrbase_EXPORTS # if defined sdrbase_EXPORTS
# define SDRBASE_API __SDR_EXPORT # define SDRBASE_API __SDR_EXPORT
# else # else
# define SDRBASE_API __SDR_IMPORT # define SDRBASE_API __SDR_IMPORT

View File

@ -283,7 +283,7 @@ if (BUILD_DEBIAN)
target_link_libraries(sdrbase serialdv) target_link_libraries(sdrbase serialdv)
endif (BUILD_DEBIAN) endif (BUILD_DEBIAN)
set_target_properties(sdrbase PROPERTIES DEFINE_SYMBOL "sdrangel_EXPORTS") set_target_properties(sdrbase PROPERTIES DEFINE_SYMBOL "sdrbase_EXPORTS")
target_compile_features(sdrbase PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0 target_compile_features(sdrbase PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0
qt5_use_modules(sdrbase Core Multimedia) qt5_use_modules(sdrbase Core Multimedia)

View File

@ -176,7 +176,7 @@ target_link_libraries(sdrgui
logging logging
) )
set_target_properties(sdrgui PROPERTIES DEFINE_SYMBOL "sdrangel_EXPORTS") set_target_properties(sdrgui PROPERTIES DEFINE_SYMBOL "sdrgui_EXPORTS")
target_compile_features(sdrgui PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0 target_compile_features(sdrgui PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0
qt5_use_modules(sdrgui Core Widgets OpenGL Multimedia) qt5_use_modules(sdrgui Core Widgets OpenGL Multimedia)

View File

@ -42,7 +42,6 @@ target_link_libraries(sdrsrv
logging logging
) )
set_target_properties(sdrsrv PROPERTIES DEFINE_SYMBOL "sdrangel_EXPORTS")
target_compile_features(sdrsrv PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0 target_compile_features(sdrsrv PRIVATE cxx_generalized_initializers) # cmake >= 3.1.0
qt5_use_modules(sdrsrv Core Multimedia) qt5_use_modules(sdrsrv Core Multimedia)