summaryrefslogtreecommitdiffstats
path: root/modules
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
commit1c4b89d7199cd84775cf2595f13b49447ed4290f (patch)
treef91acd054d320f2d78dd8d15d3e2f9b008e9681c /modules
parent2c88a94fbdc2172c8b35d970e35f6f7db6e51152 (diff)
downloadtde-cmake-1c4b89d7199cd84775cf2595f13b49447ed4290f.tar.gz
tde-cmake-1c4b89d7199cd84775cf2595f13b49447ed4290f.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/cmake@1198573 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 3fbf929..0647431 100644
--- a/modules/TDEMacros.cmake
+++ b/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 )