summaryrefslogtreecommitdiffstats
path: root/cmake/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-11-19 00:04:30 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-11-19 00:04:30 +0000
commit695b35791dd2ef2981c6440e5215ad1694964d3e (patch)
treef8512103b1cf92d21fe42f762b12a6db7108e43d /cmake/modules/TDEMacros.cmake
parent78bb63fad043a154a9d50aad7d5a8b3f80cf6fd2 (diff)
downloadother-695b35791dd2ef2981c6440e5215ad1694964d3e.tar.gz
other-695b35791dd2ef2981c6440e5215ad1694964d3e.zip
[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
Diffstat (limited to 'cmake/modules/TDEMacros.cmake')
-rw-r--r--cmake/modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
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 )