]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed install paths in CMake so that the compiled binary is properly installed
authorNeal Gompa <ngompa13@gmail.com>
Thu, 13 May 2010 23:46:45 +0000 (18:46 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Thu, 13 May 2010 23:46:45 +0000 (18:46 -0500)
CMakeLists.txt

index 35aca8651e3b8a88ddbd95bffc8be2a24611b47c..1a17e52561f4cc48d5a63884e46bd447f3cfeb59 100644 (file)
@@ -433,7 +433,7 @@ endif(WIN32)
 
 # Install target
 if(WIN32)
-       install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Source/lugaru.exe DESTINATION ${CMAKE_INSTALL_PREFIX})
+       install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru.exe DESTINATION ${CMAKE_INSTALL_PREFIX})
        if(MSVC)
                install(FILES ${SDLDIR}/lib/win32/msvc/SDL.dll DESTINATION ${CMAKE_INSTALL_PREFIX})
                #install(FILES ${OPENALDIR}/lib/win32/msvc/OpenAL32.dll DESTINATION ${CMAKE_INSTALL_PREFIX}) # FIXME: Add MSVC OpenAL library!
@@ -443,7 +443,7 @@ if(WIN32)
                install(FILES ${OPENALDIR}/lib/win32/mingw/OpenAL32.dll DESTINATION ${CMAKE_INSTALL_PREFIX})
        endif(MINGW)
 else(WIN32)
-       install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Source/lugaru DESTINATION ${CMAKE_INSTALL_PREFIX})
+       install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru DESTINATION ${CMAKE_INSTALL_PREFIX})
 endif(WIN32)
 
 install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${CMAKE_INSTALL_PREFIX})