diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-06 13:46:33 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-06 13:46:33 +0000 |
| commit | 0b54abab7cf7f6f88aa6d27d551ba9fe6cd5c477 (patch) | |
| tree | 25ab6ad7368f90d739c7851621890d6cd2de5efa | |
| parent | 915350f43c2af7f37b5d9963114689f6d0ffec64 (diff) | |
- oprava drsneho preklepu ktery rozhazoval umisteni instalace
git-svn-id: http://opensvn.csie.org/tuxanci_ng@104 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a1efba9..f5b7880 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,9 @@ # !! pri zmene zdrojovych souboru se podivejte co je treba delat do souboru !! # !! CMakeLists.txt v adresari src !! SET ( APPNAME "tuxanci-ng") -IF ( NOT NO_Server ) +IF ( Server ) SET ( APPNAME "tuxanci-ng-server" ) -ENDIF ( NOT NO_Server ) +ENDIF ( Server ) MESSAGE ( "<******************************>" ) MESSAGE ( "Configure for ${APPNAME} Started" ) MESSAGE ( "<******************************>" ) @@ -65,9 +65,7 @@ ADD_SUBDIRECTORY ( src ) #MESSAGE ( STATUS "<Installing datafiles>" ) #MESSAGE ( STATUS "<******************************>" ) -IF ( NOT CMAKE_INSTALL_DATADIR ) - SET ( CMAKE_INSTALL_DATADIR share/ ) -ENDIF ( NOT CMAKE_INSTALL_DATADIR ) +SET ( CMAKE_INSTALL_DATADIR share/ ) SET ( CMAKE_INSTALL_ETCDIR /etc ) IF ( Server ) INSTALL ( FILES ${CMAKE_SOURCE_DIR}/data/conf/server.conf DESTINATION ${CMAKE_INSTALL_ETCDIR}/${APPNAME} ) |