diff options
| author | 2008-04-14 18:27:17 +0000 | |
|---|---|---|
| committer | 2008-04-14 18:27:17 +0000 | |
| commit | ceee2dacb8f6039602ef296f269d91e2138616ef (patch) | |
| tree | e83cfe8340f23de26638e616d0b88053591caec5 /scripts | |
| parent | updated rules (diff) | |
| download | KVIrc-ceee2dacb8f6039602ef296f269d91e2138616ef.tar.gz KVIrc-ceee2dacb8f6039602ef296f269d91e2138616ef.tar.bz2 KVIrc-ceee2dacb8f6039602ef296f269d91e2138616ef.zip | |
Fixed kvirc4-config creation and installation (out of source builds)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1484 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/CMakeLists.txt | 14 | ||||
| -rw-r--r-- | scripts/config/CMakeLists.txt | 9 |
2 files changed, 11 insertions, 12 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 6d2aefc65..709f33806 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -1,14 +1,4 @@ # CMakeLists for scripts/ -SET(kvishellscripts - config/kvirc4-config -) - -# Install target -IF(UNIX) - IF(NOT APPLE) - # This files are useless because apple bundles are movable - # Assume linux - INSTALL(FILES ${kvishellscripts} DESTINATION ${INSTALL_PREFIX}/bin) - ENDIF() -ENDIF() +# Find subdirs +SUBDIRS(config)
\ No newline at end of file diff --git a/scripts/config/CMakeLists.txt b/scripts/config/CMakeLists.txt new file mode 100644 index 000000000..4b738554e --- /dev/null +++ b/scripts/config/CMakeLists.txt @@ -0,0 +1,9 @@ +# CMakeLists for scripts/config +# Install target +IF(UNIX) + IF(NOT APPLE) + # This files are useless because apple bundles are movable + # Assume linux + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/kvirc${VERSION_MAJOR}-config DESTINATION ${INSTALL_PREFIX}/bin PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ) + ENDIF() +ENDIF() |
