|
|
@ -539,7 +539,7 @@ macro( tde_add_library _arg_target )
|
|
|
|
if( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|
if( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|
# we export only shared libs (no static, no modules)
|
|
|
|
# we export only shared libs (no static, no modules)
|
|
|
|
# also, do not export target marked as "NO_EXPORT" (usually for kdeinit)
|
|
|
|
# also, do not export target marked as "NO_EXPORT" (usually for kdeinit)
|
|
|
|
install( TARGETS ${_target} DESTINATION ${_destination} EXPORT ${CMAKE_PROJECT_NAME} )
|
|
|
|
install( TARGETS ${_target} DESTINATION ${_destination} EXPORT ${PROJECT_NAME} )
|
|
|
|
else( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|
else( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|
install( TARGETS ${_target} DESTINATION ${_destination} )
|
|
|
|
install( TARGETS ${_target} DESTINATION ${_destination} )
|
|
|
|
endif( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|
endif( "SHARED" STREQUAL ${_type} AND NOT _no_export )
|
|
|
|