From 695b35791dd2ef2981c6440e5215ad1694964d3e Mon Sep 17 00:00:00 2001 From: samelian Date: Fri, 19 Nov 2010 00:04:30 +0000 Subject: [PATCH] [kde-common/cmake] tde_add_library: CMAKE_PROJECT_NAME replaced with PROJECT_NAME git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1198573 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cmake/modules/TDEMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/TDEMacros.cmake b/cmake/modules/TDEMacros.cmake index 3fbf929..0647431 100644 --- a/cmake/modules/TDEMacros.cmake +++ b/cmake/modules/TDEMacros.cmake @@ -539,7 +539,7 @@ macro( tde_add_library _arg_target ) if( "SHARED" STREQUAL ${_type} AND NOT _no_export ) # we export only shared libs (no static, no modules) # 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 ) install( TARGETS ${_target} DESTINATION ${_destination} ) endif( "SHARED" STREQUAL ${_type} AND NOT _no_export )