--- CorsixTH/CMakeLists.txt 2013-07-26 19:35:30.463506153 +0200 +++ CorsixTH/CMakeLists.txt.new 2013-07-26 19:38:07.944473631 +0200 @@ -222,10 +222,10 @@ ENDIF() ELSE() - install(TARGETS CorsixTH RUNTIME DESTINATION CorsixTH) - install(DIRECTORY Lua Levels DESTINATION CorsixTH PATTERN "*.svn" EXCLUDE) - install(DIRECTORY Bitmap DESTINATION CorsixTH + install(TARGETS CorsixTH RUNTIME DESTINATION corsix-th) + install(DIRECTORY Lua Levels DESTINATION corsix-th PATTERN "*.svn" EXCLUDE) + install(DIRECTORY Bitmap DESTINATION corsix-th FILES_MATCHING REGEX ".*\\.(tab|pal|dat|png)$" PATTERN "*.svn" EXCLUDE) - install(FILES CorsixTH.lua CorsixTH.ico DESTINATION CorsixTH ) + install(FILES CorsixTH.lua CorsixTH.ico DESTINATION corsix-th ) ENDIF()